handle exceptions
Merge branch 'edewit-exception-handling'
Adding little more info to readme on the registration callback code