Index: licq/src/plugins/plugin.cpp
===================================================================
--- licq/src/plugins/plugin.cpp	(revision 7069)
+++ licq/src/plugins/plugin.cpp	(working copy)
@@ -50,7 +50,13 @@
 
 void Plugin::startThread(CICQDaemon* daemon)
 {
-  ::pthread_create(&myThread, NULL, myMainThreadEntryPoint, daemon);
+  if (std::string("Qt4 GUI") == getName())
+  {
+    myThread = ::pthread_self();
+    myMainThreadEntryPoint(daemon);
+  }
+  else
+    ::pthread_create(&myThread, NULL, myMainThreadEntryPoint, daemon);
 }
 
 int Plugin::joinThread()
Index: licq/src/plugins/pluginmanager.cpp
===================================================================
--- licq/src/plugins/pluginmanager.cpp	(revision 7069)
+++ licq/src/plugins/pluginmanager.cpp	(working copy)
@@ -161,8 +161,8 @@
 
 void PluginManager::startAllPlugins()
 {
-  MutexLocker generalLocker(myGeneralPluginsMutex);
-  MutexLocker protocolLocker(myProtocolPluginsMutex);
+  //MutexLocker generalLocker(myGeneralPluginsMutex);
+  //MutexLocker protocolLocker(myProtocolPluginsMutex);
 
   BOOST_FOREACH(GeneralPlugin::Ptr plugin, myGeneralPlugins)
   {
