changed to stay open applet