      def set_kwargs(self, filetype, command, action, variable=None):
          """ Generate the required kwargs for the requested browser """
          kwargs = dict()
          if self.handletype.lower() == "context":
              self.set_context_handletype(command, action, variable)
  
          if self.handletype.lower() in (
                  "open", "save", "filename", "savefilename"):
 
</s> remove 
 </s> add         logger.debug("Initializing %s: (Handletype: '%s', filetype: '%s', command: '%s', action: "
                     "'%s', variable: %s)", self.__class__.__name__, handletype, filetype, command,
                     action, variable) </s> remove             self.handletype = self.contexts[command][variable][action]
 </s> add             handletype = self.contexts[command][variable][action]
        logger.debug("Setting Kwargs: (filetype: '%s', command: '%s': action: '%s', "
                     "variable: '%s')", filetype, command, action, variable)
      def set_kwargs(self, filetype, command, action, variable=None):
          """ Generate the required kwargs for the requested browser """
        logger.debug("Setting Kwargs: (filetype: '%s', command: '%s': action: '%s', "
                     "variable: '%s')", filetype, command, action, variable)
          kwargs = dict()
          if self.handletype.lower() == "context":
              self.set_context_handletype(command, action, variable)
  
          if self.handletype.lower() in (
                  "open", "save", "filename", "savefilename"):
keep add keep keep keep keep keep keep
 Add right click menu to GUI. Implement some GUI Logging 
lib/gui/utils.py