          logger.debug(arguments)
          return arguments
  
      def _process(self,
                   trigger_event: Event,
                   shutdown_event: Event,
                   patch_queue_in: "EventQueue",
                   samples: Samples,
                   tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
          """ The face patching process.
  
 
</s> remove                  samples: Samples,
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
 </s> add                  trigger_event: Event,
                 samples: Samples) -> None: </s> remove     def __init__(self,
                 arguments: "Namespace",
                 available_masks: List[str],
                 samples: Samples,
                 display: "FacesDisplay",
                 lock: Lock,
                 trigger: Event,
                 config_tools: "ConfigTools",
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
        logger.debug("Initializing %s: (arguments: '%s', available_masks: %s, samples: %s, "
                     "display: %s, lock: %s, trigger: %s, config_tools: %s, tk_vars %s)",
                     self.__class__.__name__, arguments, available_masks, samples, display, lock,
                     trigger, config_tools, tk_vars)
        self._samples = samples
 </s> add     def __init__(self, app: Preview, arguments: "Namespace") -> None:
        logger.debug("Initializing %s: (app: %s, arguments: '%s')",
                     self.__class__.__name__, app, arguments)
        self._app = app </s> remove         tk_vars: dict
            Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
 </s> add  </s> remove         trigger_event: :class:`threading.Event`
            Set by parent process when a patching run should be executed
        shutdown_event :class:`threading.Event`
            Set by parent process if a shutdown has been requested
 </s> add 
          logger.debug(arguments)
          return arguments
  
      def _process(self,


                   patch_queue_in: "EventQueue",
                   samples: Samples,
                   tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
          """ The face patching process.
  
keep keep keep keep 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