Some fixes for config getter, GUI always shows up when no file selected