modified std_gui and added cmd_gui (cmd gui doesnt work)