Show context on parse exception, handle [Flags] enums, fix for incorrectly closing stream on reparse