Better SELECT handling and Applet deletion