          cycle and sets the :class:`Display` destination images.
  
          Parameters
          ----------
          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
          patch_queue_in: :class:`~lib.queue_manager.EventQueue`
              The input queue for the patching process
          samples: :class:`Samples`
              The Samples for display.
          tk_vars: dict
 
</s> remove         tk_vars: dict
            Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
 </s> add  </s> remove                  samples: Samples,
                 tk_vars: Dict[Literal["refresh", "busy"], tk.BooleanVar]) -> None:
 </s> add                  trigger_event: Event,
                 samples: Samples) -> None: </s> remove     available_masks: list
        The masks that are available for convert
    samples: :class:`Samples`
        The Samples for display.
    display: :class:`FacesDisplay`
        The display section of the Preview GUI.
    lock: :class:`threading.Lock`
        A threading lock to prevent multiple GUI updates at the same time.
    trigger:  :class:`threading.Event`
        An event to indicate that a converter patch should be run
    config_tools: :class:`ConfigTools`
        Tools for loading and saving configuration files
    tk_vars: dict
        Global tkinter variables. `Refresh` and `Busy` :class:`tkinter.BooleanVar`
 </s> add  </s> remove         logger.trace("feeding swapped faces to converter")  # type: ignore
 </s> add         logger.debug("feeding swapped faces to converter")
          cycle and sets the :class:`Display` destination images.
  
          Parameters
          ----------




          patch_queue_in: :class:`~lib.queue_manager.EventQueue`
              The input queue for the patching process
          samples: :class:`Samples`
              The Samples for display.
          tk_vars: dict
keep keep keep keep 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