          logger.debug("Initializing %s", self.__class__.__name__)
          super().__init__(parent)
          self.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
  
          self.options = options
          self.static_dims = [0, 0]
  
          self.canvas_frame = ttk.Frame(self)
          self.canvas_frame.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
  
          self.canvas = tk.Canvas(self.canvas_frame, bd=0, highlightthickness=0)
          self.canvas.pack(side=tk.LEFT, fill=tk.Y)
  
          self.optsframe = ttk.Frame(self.canvas)
          self.optscanvas = self.canvas.create_window((0, 0), window=self.optsframe, anchor=tk.NW)
  
          self.scrollbar = self.add_scrollbar()
  
          self.frame_separator = self.add_frame_separator()
          self.action_frame = ttk.Frame(self)
          self.action_frame.pack(padx=5, pady=5, side=tk.BOTTOM, fill=tk.X, anchor=tk.E)
  
 
</s> remove         self.frame_separator = self.add_frame_separator()
        self.action_frame = ttk.Frame(self)
        self.action_frame.pack(padx=5, pady=5, side=tk.BOTTOM, fill=tk.X, anchor=tk.E)

        self.build_frame(parent, config_key)

        self.bind("<Configure>", self.resize_frame)
 </s> add         self._action_frame = ttk.Frame(self)
        self._action_frame.pack(padx=0, pady=(0, 5), side=tk.BOTTOM, fill=tk.X, anchor=tk.E)
        self._add_frame_separator() </s> remove         self.refresh_display_trigger = tk_vars["refresh"]
        self.refresh_display_trigger.trace("w", self.refresh_display_callback)
        self.display = parent.preview_display
        self.canvas = tk.Canvas(self, bd=0, highlightthickness=0)
        self.canvas.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
        self.displaycanvas = self.canvas.create_image(0, 0,
                                                      image=self.display.tk_image,
                                                      anchor=tk.NW)
        self.bind("<Configure>", self.resize)
 </s> add         self._refresh_display_trigger = tk_vars["refresh"]
        self._refresh_display_trigger.trace("w", self._refresh_display_callback)
        self._display = parent.preview_display
        self._canvas = tk.Canvas(self, bd=0, highlightthickness=0)
        self._canvas.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
        self._displaycanvas = self._canvas.create_image(0, 0,
                                                        image=self._display.tk_image,
                                                        anchor=tk.NW)
        self.bind("<Configure>", self._resize) </s> remove         top_frame = ttk.Frame(self)
        top_frame.pack(side=tk.TOP, fill=tk.BOTH, anchor=tk.N, expand=True)
 </s> add 
        self._options = options
          logger.debug("Initializing %s", self.__class__.__name__)
          super().__init__(parent)
          self.pack(side=tk.TOP, fill=tk.BOTH, expand=True)
  
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
        self._options = options
  
          self.frame_separator = self.add_frame_separator()
          self.action_frame = ttk.Frame(self)
          self.action_frame.pack(padx=5, pady=5, side=tk.BOTTOM, fill=tk.X, anchor=tk.E)
  
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
tools/preview.py