  from lib.gui.display import DisplayNotebook
  from lib.gui.options import CliOptions
  from lib.gui.menu import MainMenuBar, TaskBar
  from lib.gui.project import LastSession
  from lib.gui.stats import Session
  from lib.gui.utils import (get_config, get_images, initialize_config, initialize_images,
                             preview_trigger)
  from lib.gui.wrapper import ProcessWrapper
 
</s> remove from lib.gui import (TaskBar, CliOptions, CommandNotebook, ConsoleOut, Session, DisplayNotebook,
 </s> add from lib.gui import (TaskBar, CliOptions, CommandNotebook, ConsoleOut, DisplayNotebook, </s> remove from .control_helper import ControlBuilder, ControlPanelOption
from .display_graph import SessionGraph
from .display_page import DisplayPage
from .stats import Calculations, Session
 </s> add  </s> remove from .stats import Calculations
 </s> add from .stats import Calculations, Session
  from lib.gui.display import DisplayNotebook
  from lib.gui.options import CliOptions
  from lib.gui.menu import MainMenuBar, TaskBar
  from lib.gui.project import LastSession

  from lib.gui.utils import (get_config, get_images, initialize_config, initialize_images,
                             preview_trigger)
  from lib.gui.wrapper import ProcessWrapper
keep keep keep keep replace keep keep keep
 GUI - Stats optimization (#1067)

* Faster stat loading + caching

* Compress data in cache

* Optimize some calculations

* Vectorize smoothing

* stats.Calculations optimized

* Load latest training data from live iterator

* Add options to training graph 
lib/gui/__init__.py