add switch-gui button for qt
remove gui selector from preferences. store last state
fix conflict