Emscripten Changes

Rewrote api, added midi, new examples page