Updated minify script to compile popular modules into main script file
Reworked modularisation, added () around closures, removed implicit globals!