          actioncommand = tk.StringVar()
          actioncommand.set(None)
  
          generatecommand = tk.StringVar()
          generatecommand.set(None)
  
          console_clear = tk.BooleanVar()
          console_clear.set(False)
  
          refreshgraph = tk.BooleanVar()
 
</s> remove         actioncommand.set(None)
 </s> add         actioncommand.set("") </s> remove         display.set(None)
 </s> add         display.set("") </s> remove         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)
 </s> add         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) </s> remove     def _set_tk_vars():
 </s> add     def _set_tk_vars() -> Dict[str, Union[tk.StringVar, tk.BooleanVar]]: </s> remove                  kwargs: Dict[str, Any] = None,
 </s> add                  kwargs: Optional[Dict[str, Any]] = None,
        generatecommand.set("")
          actioncommand = tk.StringVar()
          actioncommand.set(None)
  
          generatecommand = tk.StringVar()
        generatecommand.set("")
  
          console_clear = tk.BooleanVar()
          console_clear.set(False)
  
          refreshgraph = tk.BooleanVar()
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Preview for extract in batch mode 
lib/gui/utils.py