minor redesign of the gui. needs much more work