Remove console log.
Make errorCallback called by default.

Some style tweaks too.