further changes to try to make the applet work with the security settings