          defaults["video"] = ".mp4"
          defaults["image"] = ".png"
          return defaults
  
      def set_kwargs(self, handletype, filetype, command, action, variable=None):
          """ Generate the required kwargs for the requested browser """
          kwargs = dict()
          if handletype.lower() in ("open", "save", "filename", "savefilename"):
              kwargs["filetypes"] = self.filetypes[filetype]
              if self.defaults.get(filetype, None):
 
</s> remove         if handletype.lower() in ("open", "save", "filename", "savefilename"):
 </s> add         if self.handletype.lower() == "context":
            self.set_context_handletype(command, action, variable)

        if self.handletype.lower() in (
                "open", "save", "filename", "savefilename"): </s> remove         if handletype.lower() == "save":
 </s> add         if self.handletype.lower() == "save": </s> remove         self.kwargs = self.set_kwargs(handletype, filetype, command, action,
                                      variable)
        self.retfile = getattr(self, handletype.lower())()
 </s> add         self.kwargs = self.set_kwargs(filetype, command, action, variable)
        self.retfile = getattr(self, self.handletype.lower())() </s> remove         if handletype.lower() == "context":
            kwargs["filetype"] = filetype
            kwargs["command"] = command
            kwargs["action"] = action
            kwargs["variable"] = variable
 </s> add 
    def set_kwargs(self, filetype, command, action, variable=None):
          defaults["video"] = ".mp4"
          defaults["image"] = ".png"
          return defaults
  
    def set_kwargs(self, filetype, command, action, variable=None):
          """ Generate the required kwargs for the requested browser """
          kwargs = dict()
          if handletype.lower() in ("open", "save", "filename", "savefilename"):
              kwargs["filetypes"] = self.filetypes[filetype]
              if self.defaults.get(filetype, None):
keep keep keep keep replace keep keep keep keep keep
 Gui - fix ffmpeg for windows 
lib/gui/utils.py