fix slowcomp validation regression
handle setlocale(?, NULL)
Remove bad assertion in glReadPixels in library_gl.js - it is the browser's job to ensure that a proper type is passed and subsequently report if a wrong type is specified. Improve types supported by glReadPixels to be forward-compatible with GLES3/WebGL2.