Fix issues with saving the error data items.

The data wasn't being saved on updates due to the Ace editor. Also
slightly improve YAML parsing, display, and validation.