Add check to see if there is an onInit function from the applet that will initialize loading -- it indicates that the applet is completely initialized.
Changed paths: