Added in checks for Three.js loader libraries, and fixed the pre/post init function calls