Added ability to push & pop arrays. Added ability to register global variables. Renamed RegisterFunction to RegisterGlobalFunction, which handles setting the function as a global before calling RegisterFunction.