Fixed new module loading system when optimized.
Fixed a couple requires needed for level editor.
Merge branch 'master' into production