added GObject.threads_init() back in for testing.