added gobject MainLoop to the player, still need to run player as a thread, or the repl will stop