Preparation of the rest of the gui.