Removed double lambda for drawing pieces in graphichandler
Preliminary working emscripten