Remove deprecated usage of threading contructs

g_cond, g_mutex, and g_private constructs are now inititialized directly
instead of using the g_*_new() and g_*_free() functions that have been
deprecated.