Build the frame of the GUI