Fixing XYZ profile references. Cleaning up comments and fixing a couple bugs in converters.