          self._slider = self._add_scale_slider()
          self._add_interpolator_radio()
          if is_standalone:
              self._add_save_button()
          self.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)
          logger.debug("Initialized %s ('%s')", self.__class__.__name__, self)
  
      @property
      def min_scale(self) -> int:
          """ int: The minimum allowed scale """
 
</s> remove         if is_standalone:
 </s> add         if self._is_standalone: </s> remove     def __init__(self, parent: tk.Frame, is_standalone: bool) -> None:
        logger.debug("Initializing %s (parent: '%s', is_standalone: %s)",
                     self.__class__.__name__, parent, is_standalone)
        super().__init__(parent)
 </s> add     def __init__(self, parent: tk.Frame, taskbar: Optional[ttk.Frame]) -> None:
        logger.debug("Initializing %s (parent: '%s', taskbar: %s)",
                     self.__class__.__name__, parent, taskbar)
        self._is_standalone = taskbar is None
        self._gui_mapped: List[tk.Widget] = []
        self._frame = tk.Frame(parent) if taskbar is None else taskbar
 </s> remove                  screen_dimensions: Tuple[int, int]) -> None:
 </s> add                  screen_dimensions: Tuple[int, int],
                 is_standalone: bool) -> None:
            self._frame.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)

          self._slider = self._add_scale_slider()
          self._add_interpolator_radio()
          if is_standalone:
              self._add_save_button()
            self._frame.pack(side=tk.BOTTOM, fill=tk.X, padx=2, pady=2)

          logger.debug("Initialized %s ('%s')", self.__class__.__name__, self)
  
      @property
      def min_scale(self) -> int:
          """ int: The minimum allowed scale """
keep keep keep keep replace keep keep keep keep keep
 GUI - Preview updates
  - Training preview. Embed preview pop-out window
  - Bugfix - convert/extract previews 
lib/training/preview_tk.py