Quick tidy of ErrorManager.
Merge pull request #197 from greboid/errors

Quick tidy of ErrorManager.