AppletLoader: fix some comments, code clean up and refactoring
Authored by: kappa1 2011-06-12
Parent: [r3544]
Child: [r3546]