check gui_running