          logger.debug("Initializing %s: (arguments: '%s'", self.__class__.__name__, arguments)
          super().__init__()
          self._config_tools = ConfigTools()
          self._lock = Lock()
          self._scaling = self._get_scaling()
  
          self._tk_vars = dict(refresh=tk.BooleanVar(), busy=tk.BooleanVar())
          for val in self._tk_vars.values():
              val.set(False)
          self._display = FacesDisplay(256, 64, self._tk_vars)
 
</s> remove     def __init__(self, parent, config_tools, patch_callback, scaling):
        logger.debug("Initializing %s: (parent: %s, config: %s, scaling: %s)",
                     self.__class__.__name__, parent, config_tools, scaling)
 </s> add     def __init__(self, parent, config_tools, patch_callback):
        logger.debug("Initializing %s: (parent: %s, config: %s)",
                     self.__class__.__name__, parent, config_tools) </s> remove         container.add(self._image_canvas, height=400 * self._scaling)
 </s> add         container.add(self._image_canvas, height=400 * get_config().scaling_factor) </s> remove         self._scaling = scaling
 </s> add  </s> remove         """ list: The mask names that are available for every face in the alignmnets file """
 </s> add         """ list: The mask names that are available for every face in the alignments file """ </s> remove         self.set_geometry()
 </s> add         self._config.set_geometry(1200, 640, self._config.user_config_dict["fullscreen"])
          logger.debug("Initializing %s: (arguments: '%s'", self.__class__.__name__, arguments)
          super().__init__()
          self._config_tools = ConfigTools()
          self._lock = Lock()

  
          self._tk_vars = dict(refresh=tk.BooleanVar(), busy=tk.BooleanVar())
          for val in self._tk_vars.values():
              val.set(False)
          self._display = FacesDisplay(256, 64, self._tk_vars)
keep keep keep keep replace keep keep keep keep keep
 lib.gui
Centralize get_scaling and set_geometry to utils.config
Suppress Error when rebuilding GUI for TreeView 
tools/preview.py