Merge pull request #197 from greboid/errors

Quick tidy of ErrorManager.
Add an actions extractor.