          event = None
          if hasattr(self.process_detect, "event"):
              event = self.process_detect.event
  
          self.process_detect.in_process(self.detector.detect_faces, **kwargs)
  
          if not event:
              return
  
          event.wait(60)
 
</s> remove         if not event:
 </s> add         if event is None:
            logger.debug("Launched Detector") </s> remove         if self.detector.parent_is_pool:
            self.process_detect = PoolProcess(self.detector.detect_faces)
        else:
            self.process_detect = SpawnProcess()
 </s> add         mp_func = PoolProcess if self.detector.parent_is_pool else SpawnProcess
        self.process_detect = mp_func(self.detector.run, **kwargs) </s> remove             process.in_process(aligner.align, **kwargs)
 </s> add             process = SpawnProcess(aligner.run, **kwargs)
            event = process.event
            process.start() </s> remove         self.process_align = SpawnProcess()
 </s> add         self.process_align = SpawnProcess(self.aligner.run, **kwargs) </s> remove     def on_event(self, event, x, y, flags, param):
 </s> add     def on_event(self, event, x, y, flags, param):  # pylint: disable=unused-argument,invalid-name
        self.process_detect.start()
          event = None
          if hasattr(self.process_detect, "event"):
              event = self.process_detect.event
  
        self.process_detect.start()
  
          if not event:
              return
  
          event.wait(60)
keep keep keep keep replace keep keep keep keep keep
 Logging (#541)

* Convert prints to logger. Further logging improvements. Tidy  up

* Fix system verbosity. Allow SystemExit

* Fix reload extract bug

* Child Traceback handling

* Safer shutdown procedure

* Add shutdown event to queue manager

* landmarks_as_xy > property. GUI notes + linting. Aligner bugfix

* fix FaceFilter. Enable nFilter when no Filter is supplied

* Fix blurry face filter

* Continue on IO error. Better error handling

* Explicitly print stack trace tocrash log

* Windows Multiprocessing bugfix

* Add git info and conda version to crash log

* Windows/Anaconda mp bugfix

* Logging fixes for training 
scripts/extract.py