more work on gui

still a mess, still experimenting