introduce gy_gtk_main to avoid nesting gy.Gtk.main() calls