Cleans up code.
Resolves R# violations.
Improves metafile parsing.
Simplifies GetMetaFile().