fix has("gui") to has("gui_runnning")