Implemented MCMainThread for GTK