More bugfixes - corrected 'parsingErrors' to 'parsingErrror' - looks like the YAML specification wasn't accurate, this makes more sense this way. Also corrected poor indentation for the parsing errors, which was entirely my fault. Contains some debugging file generation code that will hang around for subsequent commits until the dust has settled.