Move error checking to onMouseUp events instead of on all blockly workspace changes.

Change-Id: I530a6e34f196d3722d3a50b9555d6dc269943d7a