Fixing up to work with Lua 5.2.
Fixing a few minor errors.
Adding .py to .exe script for ease of deployment.