          updatepreview = tk.BooleanVar()
          updatepreview.set(False)
  
          analysis_folder = tk.StringVar()
          analysis_folder.set(None)
  
          tk_vars = dict(display=display,
                         runningtask=runningtask,
                         istraining=istraining,
                         action=actioncommand,
                         generate=generatecommand,
                         console_clear=console_clear,
                         refreshgraph=refreshgraph,
                         updatepreview=updatepreview,
                         analysis_folder=analysis_folder)
          logger.debug(tk_vars)
          return tk_vars
  
      def set_root_title(self, text=None):
          """ Set the main title text for Faceswap.
 
</s> remove     def set_root_title(self, text=None):
 </s> add     def set_root_title(self, text: Optional[str] = None) -> None: </s> remove     def set_geometry(self, width, height, fullscreen=False):
 </s> add     def set_geometry(self, width: int, height: int, fullscreen: bool = False) -> None: </s> remove         actioncommand.set(None)
 </s> add         actioncommand.set("") </s> remove         generatecommand.set(None)
 </s> add         generatecommand.set("") </s> remove         display.set(None)
 </s> add         display.set("")
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
          updatepreview = tk.BooleanVar()
          updatepreview.set(False)
  
          analysis_folder = tk.StringVar()
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
        analysis_folder.set("")

        tk_vars: Dict[str, Union[tk.StringVar, tk.BooleanVar]] = dict(
            display=display,
            runningtask=runningtask,
            istraining=istraining,
            action=actioncommand,
            generate=generatecommand,
            console_clear=console_clear,
            refreshgraph=refreshgraph,
            updatepreview=updatepreview,
            analysis_folder=analysis_folder)
          logger.debug(tk_vars)
          return tk_vars
  
      def set_root_title(self, text=None):
          """ Set the main title text for Faceswap.
keep keep keep keep replace replace replace replace replace replace replace replace replace replace replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py