Fix editor compilation
Add emscripten debug build
Cleanup database registration