correcting callback signature
improve the constructor example to include so simple error handling
gramatical fixes