main.c: remove deprected an unnecessaty g_thread_init