Unify data format and flag constants, shorten names. Document valid values for all arguments accepting constants.