first draft of simple-gui.sc