Math.imul
some improvements to error logging
fixes IE8
build