          self.title("Faceswap.py")
          self.tk.call('wm', 'iconphoto', self._w, get_images().icons["favicon"])
          self.configure(menu=MainMenuBar(self))
  
          topcontainer, bottomcontainer = self.add_containers()
  
          CommandNotebook(topcontainer)
          DisplayNotebook(topcontainer)
          ConsoleOut(bottomcontainer, debug_console)
          logger.debug("Built GUI")
 
</s> remove         CommandNotebook(topcontainer)
        DisplayNotebook(topcontainer)
        ConsoleOut(bottomcontainer, debug_console)
 </s> add         self.objects["command"] = CommandNotebook(self.objects["containers"]["top"])
        self.objects["display"] = DisplayNotebook(self.objects["containers"]["top"])
        self.objects["console"] = ConsoleOut(self.objects["containers"]["bottom"], debug_console)
        self.set_initial_focus()
        self.set_layout() </s> remove         bottomcontainer = ttk.Frame(maincontainer, height=150)
 </s> add         bottomcontainer = ttk.Frame(maincontainer, name="frame_bottom") </s> remove         self.tk.call("tk", "scaling", scaling_factor)
        width = int(1200 * scaling_factor)
        height = int(640 * scaling_factor)
        logger.debug("Geometry: %sx%s", width, height)
        self.geometry("{}x{}+80+80".format(str(width), str(height)))
 </s> add         if fullscreen:
            initial_dimensions = (self.winfo_screenwidth(), self.winfo_screenheight())
        else:
            initial_dimensions = (round(1200 * scaling_factor), round(640 * scaling_factor))

        if fullscreen and sys.platform == "win32":
            self.state('zoomed')
        elif fullscreen:
            self.attributes('-zoomed', True)
        else:
            self.geometry("{}x{}+80+80".format(str(initial_dimensions[0]),
                                               str(initial_dimensions[1])))
        logger.debug("Geometry: %sx%s", *initial_dimensions) </s> remove         return topcontainer, bottomcontainer
 </s> add     @staticmethod
    def set_initial_focus():
        """ Set the tab focus from settings """
        config = get_config()
        tab = config.user_config_dict["tab"]
        logger.debug("Setting focus for tab: %s", tab)
        tabs = config.command_tabs
        if tab in tabs:
            config.command_notebook.select(tabs[tab])
        else:
            tool_tabs = config.tools_command_tabs
            if tab in tool_tabs:
                config.command_notebook.select(tabs["tools"])
                config.command_notebook.tools_notebook.select(tool_tabs[tab])
        logger.debug("Focus set to: %s", tab)

    def set_layout(self):
        """ Set initial layout """
        self.update_idletasks()
        root = get_config().root
        config = get_config().user_config_dict
        r_width = root.winfo_width()
        r_height = root.winfo_height()
        w_ratio = config["options_panel_width"] / 100.0
        h_ratio = 1 - (config["console_panel_height"] / 100.0)
        width = round(r_width * w_ratio)
        height = round(r_height * h_ratio)
        logger.debug("Setting Initial Layout: (root_width: %s, root_height: %s, width_ratio: %s, "
                     "height_ratio: %s, width: %s, height: %s", r_width, r_height, w_ratio,
                     h_ratio, width, height)
        self.objects["containers"]["top"].sash_place(0, width, 1)
        self.objects["containers"]["main"].sash_place(0, 1, height)
        self.update_idletasks()
        self.add_containers()
          self.title("Faceswap.py")
          self.tk.call('wm', 'iconphoto', self._w, get_images().icons["favicon"])
          self.configure(menu=MainMenuBar(self))
  
        self.add_containers()
  
          CommandNotebook(topcontainer)
          DisplayNotebook(topcontainer)
          ConsoleOut(bottomcontainer, debug_console)
          logger.debug("Built GUI")
keep keep keep keep replace keep keep keep keep keep
 Gui Updates (#847)

* GUI Improvements

 - Add basic GUI Config options (available in settings menu)
 - Dynamically add/remove columns on settings panel resize
 - Wrap text properly on info headers
 - Fix helptext formatting for configs
 - Standardize Tooltip widths
 - [code] Apply some widget naming
 - [code] Rename radio_columns to option_columns
 - [code] fix column count checking
 - Add Starting Tab config item
 - Add info boxes to main pages
 - Global font settings
 - Add resources to help menu 
scripts/gui.py