basic refactoring; applet->swing frame; start button