Moved all GTK+ operations to Main Thead Context