          frame = tk.Frame(page)
          frame.pack(fill=tk.X)
          return frame
      
      @staticmethod
      def build_control_label(frame, title):
          ''' Build and place the control label '''
          label = tk.Label(frame, text=title, width=15, anchor=tk.W)
          label.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N)
  
      def build_combobox(self, frame, helptext, default, items):
 
</s> remove         label = tk.Label(frame, text=title, width=15, anchor=tk.W)
        label.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N)

    def build_combobox(self, frame, helptext, default, items):
        ''' Build and place combobox controls '''
        default = default if default in items else ''
        cmbvar = tk.StringVar(frame)
        cmbvar.set(default)
                        
        cmbbox = ttk.Combobox(frame, textvariable=cmbvar, width=40)
        cmbbox['values'] = [item for item in items]
        cmbbox.pack(fill=tk.X, padx=5, pady=5)

        self.bind_help(cmbbox, helptext)
        return cmbvar

    def build_checkbox(self, frame, helptext, default, title):
        ''' Build and place checkbox controls '''
        chkvar = tk.BooleanVar(frame)
        chkvar.set(default)

        chkbox = tk.Checkbutton(frame, variable=chkvar)
        chkbox.pack(padx=5, pady=5, anchor=tk.W)
        
        self.bind_help(chkbox, helptext)
        return chkvar
 </s> add         lbl = tk.Label(frame, text=control_title, width=15, anchor=tk.W)
        lbl.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N) </s> remove         frame = tk.Frame(page)
 </s> add         frame = tk.Frame(option_frame) </s> remove     def build_entrybox(self, frame, helptext, default, opentype = None):
        ''' Build and place entry controls '''
 </s> add     def build_control(self, frame, control, default, helptext, choices, sysbrowser):
        ''' Build and place the option controls ''' </s> remove     @staticmethod
    def build_control_frame(page):
 </s> add         self.build_control_label(ctlframe, ctltitle)
        option['value'] = self.build_control(ctlframe, ctl, dflt, ctlhelp, choices, sysbrowser)

    def build_control_frame(self, option_frame): </s> remove         topframe = tk.Frame(frame)
        topframe.pack(fill=tk.X, side=tk.TOP)
        bottomframe = tk.Frame(frame)
        bottomframe.pack(fill=tk.X, side=tk.BOTTOM)
        self.add_info_section(topframe)
        self.add_action_buttons(topframe, title)
        self.add_util_buttons(bottomframe, title)
        self.add_status_section(bottomframe)
 </s> add         self.add_info_section(frame)
        self.add_action_buttons(frame)
        self.add_util_buttons(frame)
        self.add_status_section(frame)
    def build_control_label(self, frame, control_title):
          frame = tk.Frame(page)
          frame.pack(fill=tk.X)
          return frame
      
    def build_control_label(self, frame, control_title):
    def build_control_label(self, frame, control_title):
          ''' Build and place the control label '''
          label = tk.Label(frame, text=title, width=15, anchor=tk.W)
          label.pack(padx=5, pady=5, side=tk.LEFT, anchor=tk.N)
  
      def build_combobox(self, frame, helptext, default, items):
keep keep keep keep replace replace keep keep keep keep keep
 GUI v0.1.0a (#336)

* Code clean up

* Code refactor

* bugfix: Find paths to icons when launched from outside faceswap dir

* Bugfix: Disable GUI if TkInter app not available

* BugFix: Disable GUI if $DISPLAY not detected

* Minor code ammends

* Code Refactor

* DISPLAY check fix 
scripts/gui.py