more work on gui

more work on gui