check gui_running to display icon