  
          tk_vars = {"display": display,
                     "runningtask": runningtask,
                     "action": actioncommand,
                     "generate": generatecommand,
                     "consoleclear": consoleclear,
                     "refreshgraph": refreshgraph,
                     "smoothgraph": smoothgraph,
                     "updatepreview": updatepreview,
 
</s> remove         lbl.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N, expand=True)
 </s> add         lbl.pack(pady=5, side=tk.LEFT, anchor=tk.N, expand=True)
                   "istraining": istraining,
  
          tk_vars = {"display": display,
                     "runningtask": runningtask,
                   "istraining": istraining,
                     "action": actioncommand,
                     "generate": generatecommand,
                     "consoleclear": consoleclear,
                     "refreshgraph": refreshgraph,
                     "smoothgraph": smoothgraph,
                     "updatepreview": updatepreview,
keep keep add keep keep keep keep keep keep
 GUI responsiveness and feature updates

- Add error handling to LongRunningTask
- Analysis: Fix timestats bug for missing session data
- Training: Update training graph inside LongRunningTask
- Training: Smoothing Amount Slider geometry fix
- Training: Auto update Analysis tab on training start and save interval
- Scripts: Keep control of the UI when terminating by terminating using LongRunningTask 
lib/gui/utils.py