perhaps final fixes
old messaging fix
added function
emscripten compatibility