fix for destructor not being called on gtk_main_quit
gui layout fixes