gstreamer-gi: create main loop with running