Many changes. Emscripten specific playsid added. etc