  class Adjustment():
      """ Parent class for adjustments """
      def __init__(self, mask_type, output_size, predicted_available, config=None):
          logger.debug("Initializing %s: (arguments: '%s', output_size: %s, "
                       "predicted_available: %s, config: %s)",
                       self.__class__.__name__, mask_type, output_size, predicted_available, config)
          self.config = self.set_config(config)
          logger.debug("config: %s", self.config)
          self.mask_type = self.get_mask_type(mask_type, predicted_available)
          self.dummy = np.zeros((output_size, output_size, 3), dtype='float32')
  
          self.skip = self.config.get("type", None) is None
 
</s> remove     def __init__(self, mask_type, output_size, predicted_available, config=None):
 </s> add     def __init__(self, mask_type, output_size, predicted_available, configfile=None, config=None): </s> remove     def __init__(self, mask_type, output_size, predicted_available, config=None):
        super().__init__(mask_type, output_size, predicted_available, config)
 </s> add     def __init__(self, mask_type, output_size, predicted_available, **kwargs):
        super().__init__(mask_type, output_size, predicted_available, **kwargs) </s> remove     def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config)
 </s> add     def __init__(self, configfile=None, config=None):
        logger.debug("Initializing %s: (configfile: %s, config: %s)",
                     self.__class__.__name__, configfile, config)
        self.config = self.set_config(configfile, config) </s> remove     def __init__(self, config=None):
        logger.debug("Initializing %s: (config: %s)", self.__class__.__name__, config)
        self.config = self.set_config(config)
 </s> add     def __init__(self, configfile=None, config=None):
        logger.debug("Initializing %s: (configfile: %s, config: %s)",
                     self.__class__.__name__, configfile, config)
        self.config = self.set_config(configfile, config) </s> remove     return Config(plugin_name).config_dict
 </s> add     return Config(plugin_name, configfile=configfile).config_dict
                     "predicted_available: %s, configfile: %s, config: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available,
                     configfile, config)
        self.config = self.set_config(configfile, config)
  class Adjustment():
      """ Parent class for adjustments """
      def __init__(self, mask_type, output_size, predicted_available, config=None):
          logger.debug("Initializing %s: (arguments: '%s', output_size: %s, "
                     "predicted_available: %s, configfile: %s, config: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available,
                     configfile, config)
        self.config = self.set_config(configfile, config)
                     "predicted_available: %s, configfile: %s, config: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available,
                     configfile, config)
        self.config = self.set_config(configfile, config)
                     "predicted_available: %s, configfile: %s, config: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available,
                     configfile, config)
        self.config = self.set_config(configfile, config)
          logger.debug("config: %s", self.config)
          self.mask_type = self.get_mask_type(mask_type, predicted_available)
          self.dummy = np.zeros((output_size, output_size, 3), dtype='float32')
  
          self.skip = self.config.get("type", None) is None
keep keep keep keep replace replace 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/convert/mask/_base.py