              if key == "class":
                  continue
              if key in ("anchor", "justify") and val[3] == "":
                  continue
              new_config[key] = widget.cget(key)
          return new_config
  
      @staticmethod
      def pack_config_cleaner(widget):
          """ Some options don't like to be copied, so this returns a cleaned
 
</s> remove         if widget.configure() is None:
            return None
        for key, val in widget.configure().items():
 </s> add         for key in widget.config(): </s> remove             if key in ("anchor", "justify") and val[3] == "":
 </s> add             val = widget.cget(key)
            if key in ("anchor", "justify") and val == "": </s> remove             configuration from a widget """
 </s> add             configuration from a widget
            We use config() instead of configure() because some items (TScale) do
            not populate configure()""" </s> remove     def unpack_originals(self):
        """ The original widgets must be unpacked but not destroyed
            as we need to reference them for cloning """
        for subframe in self.subframes:
            for child in subframe.winfo_children():
                child.pack_forget()

 </s> add 
            # Return correct command from master command dict
            val = _COMMANDS[val] if key == "command" and val != "" else val
            new_config[key] = val
              if key == "class":
                  continue
              if key in ("anchor", "justify") and val[3] == "":
                  continue
            # Return correct command from master command dict
            val = _COMMANDS[val] if key == "command" and val != "" else val
            new_config[key] = val
          return new_config
  
      @staticmethod
      def pack_config_cleaner(widget):
          """ Some options don't like to be copied, so this returns a cleaned
keep keep keep keep replace keep keep keep keep keep
 Bugfix: Fix commands for re-arranged panels 
lib/gui/control_helper.py