Make it build on VS2013
Fix emscripten config; make dreamtorus work
Merge branch 'master' of https://github.com/vvuk/regal
Touch-ups, mostly for emscripten.