improve error message when registering an object with an uninitialized monitor field
Merge pull request #123 from brharrington/master

improve error message when registering objects with unitialized fields