Add dropError callback and fix error being raised in onMoveRows

[fixes #73]
Avoid creating function in loop context
Build