Make s_cmdring a field in the xgi_info structure instead of a global.