added a gtk2 version of g_thread_try_new. +fixes