          ctl = control(frame, **ctlkwargs)
          
          if control == ttk.Combobox:
              ctl['values'] = [choice for choice in choices]
          
          ctl.pack(padx=5, pady=5, **packkwargs)
  
          self.gui.bind_help(ctl, helptext)
          return(var)
  
      def add_browser_buttons(self, frame, sysbrowser, filepath):
 
</s> remove         self.gui.bind_help(ctl, helptext)
        return(var)
 </s> add         ctl.pack(padx=5, pady=5, **packkwargs)
        Tooltip(ctl, text=helptext, wraplength=200)
        return var </s> remove         ctlkwargs = {'variable': var} if control == tk.Checkbutton else {'textvariable': var}
        packkwargs = {'anchor': tk.W} if control == tk.Checkbutton else {'fill': tk.X}

        if control == ttk.Combobox: #TODO: Remove this hacky fix to force the width of the frame
            ctlkwargs['width'] = 40

 </s> add         ctlkwargs = {'variable': var} if control == ttk.Checkbutton else {
            'textvariable': var}
        packkwargs = {'anchor': tk.W} if control == ttk.Checkbutton else {
            'fill': tk.X, 'expand': True} </s> remove         ''' Add correct file browser button for control '''
        img = getattr(self.gui, 'ico' + sysbrowser)
 </s> add         """ Add correct file browser button for control """
        img = self.utils.icons[sysbrowser] </s> remove         fileopn = tk.Button(frame, image=img, command=lambda cmd=action: cmd(filepath))
        fileopn.pack(side=tk.RIGHT)
 </s> add         fileopn = ttk.Button(frame, image=img,
                             command=lambda cmd=action: cmd(filepath))
        fileopn.pack(padx=(0, 5), side=tk.RIGHT) </s> remove         ctlframe = self.build_control_frame(option_frame)
        
        dflt = option.get('default', False) if ctl == tk.Checkbutton else option.get('default', '')
        choices = option['choices'] if ctl == ttk.Combobox else None

        self.build_control_label(ctlframe, ctltitle)
        option['value'] = self.build_control(ctlframe, ctl, dflt, ctlhelp, choices, sysbrowser)

    def build_control_frame(self, option_frame):
        ''' Build the frame to hold the control '''
        frame = tk.Frame(option_frame)
        frame.pack(fill=tk.X)
 </s> add         ctlframe = self.build_one_control_frame()
        dflt = self.option.get('default', '')
        dflt = self.option.get('default', False) if ctl == ttk.Checkbutton else dflt
        choices = self.option['choices'] if ctl == ttk.Combobox else None

        self.build_one_control_label(ctlframe, ctltitle)
        self.option['value'] = self.build_one_control(ctlframe,
                                                      ctl,
                                                      dflt,
                                                      ctlhelp,
                                                      choices,
                                                      sysbrowser)

    def build_one_control_frame(self):
        """ Build the frame to hold the control """
        frame = ttk.Frame(self.option_frame)
        frame.pack(fill=tk.X, expand=True)
          ctl = control(frame, **ctlkwargs)
          
          if control == ttk.Combobox:
              ctl['values'] = [choice for choice in choices]


  
          self.gui.bind_help(ctl, helptext)
          return(var)
  
      def add_browser_buttons(self, frame, sysbrowser, filepath):
keep keep keep keep replace replace keep keep keep keep keep
 GUI v0.2.1b (#352)

* Code refactor

* Console Added

* Add graphing with matplotlib

* Add GUI preview support

* Improve import handling.

* Add GUI integration for tools.py (Launch tools.py with the gui command)

* Reformat to conform to PEP8.

* Add Tooltips, 

* Make panels user adjustable

* Fix convert.py Sharpen default value 
scripts/gui.py