Plug some leaks, all Emscripten tests are running correctly. Added readme.