Merge pull request #3 from arrdem/master

Prettefy readme
added extra error checks in callback