Slightly simplify generated script code.
Note: There appears to be an issue passing STL types back and forth with debug builds.
Use a single entrypoint to load the module.
Scripts now have a concept of "global variables".