Refactor gtk-main; rename join-main-thread to join-gtk-main; make join-gtk-main usefu...