fixed applet API calls so they operate on the embedded applet instance if no other...