  
  from lib import cli
  import tools.cli as ToolsCli
  from .utils import get_images
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class CliOptions():
 
</s> remove from .control_helper import ControlPanel
 </s> add from .control_helper import ControlPanel, ControlPanelOption </s> remove # We store Tooltips globally when they are created
# Because we need to add them back to newly cloned widgets
_TOOLTIPS = dict()

# We store commands globally when they are created
# Because we need to add them back to newly cloned widgets
_COMMANDS = dict()
 </s> add # We store Tooltips, ContextMenus and Commands globally when they are created
# Because we need to add them back to newly cloned widgets (they are not easily accessible from
# original config or are prone to getting destroyed when the original widget is destroyed)
_RECREATE_OBJECTS = dict(tooltips=dict(), commands=dict(), contextmenus=dict()) </s> remove 
    Currently only setup for config items
 </s> add     This should only be called from the ControlPanel class </s> remove             val = _COMMANDS[val] if key == "command" and val != "" else val
 </s> add             val = _RECREATE_OBJECTS["commands"][val] if key == "command" and val != "" else val
from .control_helper import ControlPanelOption
  
  from lib import cli
  import tools.cli as ToolsCli
  from .utils import get_images
from .control_helper import ControlPanelOption
  
  logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
  
  
  class CliOptions():
keep keep keep add keep keep keep keep keep
 GUI Fixups

- GUI Bugfix: Startup options - fix min/max thresholds
- GUI Bugfix: Make console read-only
- GUI Bugfix: Rightclick menu for recreated widgets
- Enhancement: Create ControlPanelOptions Class + migrate options 
lib/gui/options.py