use main_window for params in plotting_widget rather than assign variables to...
use main_window for params in plotting_widget rather than assign variables to dialog than access params from parent dialog; call add_gap_bar() inside MultiThreadedPlottingWidget instead onf inside # Drawing State-Of-Health channels and mass position