Removed old logging, say hello to g_log. Also moved signals to main.c