public JeanService()
 {
     logger = new EventLogLogger();
     logger.Initialize("Jean");
     try
     {
         loadingError = false;
         startupError = true;
         LoadSettings();
         callbackSemaphore = new Semaphore(0, 1);
         startSemaphore    = new Semaphore(0, 1);
         processingThread  = new Thread(this.EventProcessingLoop);
         processingThread.Start();
     }
     catch (Exception e)
     {
         loadingError = true;
         logger.Exception("Jean could not be loaded.", e);
     }
     logger.Information("Jean was loaded");
 }