Changed it to Glib.idle_add

Glib.idle_add seems to play better with others.