finished up most of the gui.