                       self.__class__.__name__, args, kwargs)
          self._preview = get_images().preview_train
          self._display: Optional[PreviewTk] = None
          super().__init__(*args, **kwargs)
  
      def add_options(self) -> None:
          """ Add the additional options """
          self._add_option_refresh()
          self._add_option_mask_toggle()
          super().add_options()
 
</s> remove         self.update_preview = get_config().tk_vars.update_preview
 </s> add         logger.debug("Initializing %s (args: %s, kwargs: %s)",
                     self.__class__.__name__, args, kwargs)
        self._preview = get_images().preview_train
        self._display: Optional[PreviewTk] = None </s> remove     @classmethod
    def _output_helptext(cls) -> None:
 </s> add     @property
    def master_frame(self) -> tk.Frame:
        """ :class:`tkinter.Frame`: The master frame that holds the preview window """
        return self._master_frame

    def pack(self, *args, **kwargs):
        """ Redirect calls to pack the widget to pack the actual :attr:`_master_frame`.

        Takes standard :class:`tkinter.Frame` pack arguments
        """
        logger.debug("Packing master frame: (args: %s, kwargs: %s)", args, kwargs)
        self._master_frame.pack(*args, **kwargs)

    def save(self, location: str) -> None:
        """ Save action to be performed when save button pressed from the GUI.

        location: str
            Full path to the folder to save the preview image to
        """
        self._image.save_preview(location)

    def remove_option_controls(self) -> None:
        """ Remove the taskbar options controls when the preview is disabled in the GUI """
        self._taskbar.destroy_widgets()

    def _output_helptext(self) -> None: </s> remove     def __init__(self, save_variable: tk.BooleanVar) -> None:
        logger.debug("Initializing %s: (save_variable: %s)",
                     self.__class__.__name__, save_variable)
 </s> add     def __init__(self, save_variable: tk.BooleanVar, is_standalone: bool) -> None:
        logger.debug("Initializing %s: (save_variable: %s, is_standalone: %s)",
                     self.__class__.__name__, save_variable, is_standalone)
        self._is_standalone = is_standalone
        logger.debug("Initialized %s", self.__class__.__name__)
                       self.__class__.__name__, args, kwargs)
          self._preview = get_images().preview_train
          self._display: Optional[PreviewTk] = None
          super().__init__(*args, **kwargs)
        logger.debug("Initialized %s", self.__class__.__name__)
  
      def add_options(self) -> None:
          """ Add the additional options """
          self._add_option_refresh()
          self._add_option_mask_toggle()
          super().add_options()
keep keep keep add keep keep keep keep keep keep
 GUI - Preview updates
  - Training preview. Embed preview pop-out window
  - Bugfix - convert/extract previews 
lib/gui/display_command.py