gui redo

redid gui, working copy