Added license
Documentation frenzy 1
Documentation frenzy 2
Made errorCallback conform to documentation.

It is now called with two parameters and can return true to suppress the error