Add a default error handler. Prevents hangs in error path.
improve error messages when possible
de-lint
add setWindowPosition command
fix includes
make setWindowPosition use current window by default
Merge pull request #12 from niallo/handleerrors

fix(core): Prevent hangs when missing an error handler