include gy_gtk.i instead of gy.i
pass grab=1 to gy_gtk_ywindow
remove all references to deprecated gy_gtk_idleonce