          logger.debug("Initializing %s: (parent: %s)", self.__class__.__name__, parent)
          scaling_factor = get_config().scaling_factor
          width = int(420 * scaling_factor)
          height = int(500 * scaling_factor)
          ttk.Notebook.__init__(self, parent, width=width, height=height)
          parent.add(self)
  
          self.actionbtns = dict()
          self.set_running_task_trace()
          self.build_tabs()
 
</s> remove         self.actionbtns = dict()
 </s> add         self.tools_notebook = ToolsNotebook(self) </s> remove class CommandNotebook(ttk.Notebook):  # pylint: disable=too-many-ancestors
 </s> add class CommandNotebook(ttk.Notebook):  # pylint:disable=too-many-ancestors </s> remove         x_offset = int(34 * get_config().scaling_factor)
 </s> add         scaling_factor = get_config().scaling_factor if get_config() is not None else 1.0
        x_offset = int(34 * scaling_factor) </s> remove         ttk.Frame.__init__(self, parent)
 </s> add         super().__init__(parent) </s> remove                      "predicted_available: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available)
        self.config = get_config(".".join(self.__module__.split(".")[-2:]))
 </s> add                      "predicted_available: %s, config: %s)",
                     self.__class__.__name__, mask_type, output_size, predicted_available, config)
        self.config = self.set_config(config)
        self.actionbtns = dict()
        super().__init__(parent, width=width, height=height)
          logger.debug("Initializing %s: (parent: %s)", self.__class__.__name__, parent)
          scaling_factor = get_config().scaling_factor
          width = int(420 * scaling_factor)
          height = int(500 * scaling_factor)
        self.actionbtns = dict()
        super().__init__(parent, width=width, height=height)
          parent.add(self)
  
          self.actionbtns = dict()
          self.set_running_task_trace()
          self.build_tabs()
keep keep keep keep replace keep keep keep keep keep
 Convert settings tool (#737)

* Initial prediction pipeline and display

* Patch faces from convert pipeline. Load configs

* Add tkinter canvas for image display

* Radio buttons to config gui. Standardise config gui. Remove dssim loss from realface

* Add action frame

* Live update cli options

* Live update config changes

* Quicker frame loading. Refresh faces button callback

* remove debug code

* Add saving and reloading config buttons

* Reduce lag with threading

* Busy indicator + geometry updates

* Fix options canvas resizing

* Add global config saving and resetting

* tools to own tab

* Rename tool to 'preview'

* geometry tweak

* pep8 fixes 
lib/gui/command.py