more work on the gui (working on that tomorrow)