      from typing import Literal
  
  if TYPE_CHECKING:
      from argparse import Namespace
      from lib.align.aligned_face import CenteringType
      from lib.queue_manager import EventQueue
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  # LOCALES
 
</s> remove from plugins.plugin_loader import PluginLoader
from plugins.convert._config import Config
 </s> add  </s> remove from lib.gui.custom_widgets import Tooltip
from lib.gui.control_helper import ControlPanel, ControlPanelOption
 </s> add 
      from typing import Literal
  
  if TYPE_CHECKING:
      from argparse import Namespace

      from lib.queue_manager import EventQueue
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  # LOCALES
keep keep keep keep 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