Instead of using a "GMainLoop" element in the main thread, we now