          self._shutdown = Event()
  
          self._thread = Thread(target=self._process,
                                name="patch_thread",
                                args=(self._trigger,
                                      self._shutdown,
                                      self._queue_patch_in,
                                      self._samples,
                                      tk_vars),
                                daemon=True)
          self._thread.start()
          logger.debug("Initializing %s", self.__class__.__name__)
  
      @property
 
</s> remove         self._shutdown = Event()

 </s> add  </s> remove                                     arguments=self._generate_converter_arguments(arguments,
                                                                                 available_masks),
 </s> add                                     arguments=self._generate_converter_arguments(
                                        arguments,
                                        app._samples.available_masks), </s> remove     @property
    def trigger(self) -> Event:
        """ :class:`threading.Event`: The trigger to indicate that a patching run should
        commence. """
        return self._trigger

 </s> add  </s> remove         self._display.set_centering(self._predictor.centering)
 </s> add         self._app._display.set_centering(self._predictor.centering)
                              args=(self._queue_patch_in,
                                    self._app.dispatcher.needs_patch,
                                    app._samples),
          self._shutdown = Event()
  
          self._thread = Thread(target=self._process,
                                name="patch_thread",
                              args=(self._queue_patch_in,
                                    self._app.dispatcher.needs_patch,
                                    app._samples),
                              args=(self._queue_patch_in,
                                    self._app.dispatcher.needs_patch,
                                    app._samples),
                              args=(self._queue_patch_in,
                                    self._app.dispatcher.needs_patch,
                                    app._samples),
                              args=(self._queue_patch_in,
                                    self._app.dispatcher.needs_patch,
                                    app._samples),
                              args=(self._queue_patch_in,
                                    self._app.dispatcher.needs_patch,
                                    app._samples),
                                daemon=True)
          self._thread.start()
          logger.debug("Initializing %s", self.__class__.__name__)
  
      @property
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 bugfix:
    - preview tool - Prevent tkinter variables from exiting main thread
refactor:
    - preview tool - Split module to smaller sub-modules + docs, locales
Typing:
    - tools.preview.cli
Unit test:
    - tools.preview.viewer 
tools/preview/preview.py