check gui_running on icon mode