          detector_name = detector.replace("-", "_").lower()
          logger.debug("Loading Detector: '%s'", detector_name)
          detector = PluginLoader.get_detector(detector_name)(loglevel=loglevel,
                                                              rotation=rotation,
                                                              min_size=min_size)
          return detector
  
      @staticmethod
      def load_aligner(aligner, loglevel):
          """ Set global arguments and load aligner plugin """
 
</s> remove     def load_detector(detector, loglevel, rotation, min_size):
 </s> add     def load_detector(detector, loglevel, rotation, min_size, configfile): </s> remove     def load_aligner(aligner, loglevel):
 </s> add     def load_aligner(aligner, loglevel, configfile): </s> remove         aligner = PluginLoader.get_aligner(aligner_name)(loglevel=loglevel)
 </s> add         aligner = PluginLoader.get_aligner(aligner_name)(loglevel=loglevel, configfile=configfile) </s> remove     def set_config(self, config):
 </s> add     def set_config(self, configfile, config): </s> remove             retval = get_config(section)
 </s> add             retval = get_config(section, configfile=configfile)
                                                            min_size=min_size,
                                                            configfile=configfile)
          detector_name = detector.replace("-", "_").lower()
          logger.debug("Loading Detector: '%s'", detector_name)
          detector = PluginLoader.get_detector(detector_name)(loglevel=loglevel,
                                                              rotation=rotation,
                                                            min_size=min_size,
                                                            configfile=configfile)
          return detector
  
      @staticmethod
      def load_aligner(aligner, loglevel):
          """ Set global arguments and load aligner plugin """
keep keep keep keep replace keep keep keep keep keep
 Config Changes + Bugfixes

Bugfix: Fully disable keypress monitor for GUI
Bugfix: Preview - Handle missing alignments file
Config changes:
    - Separate plugin defaults into their own files
    - Move mask_type to global training config
    - Add ability to pass in custom config files 
plugins/extract/pipeline.py