Yet more on Cam's functions

- Fix the write length for ability type in ALTER_*_HEADER
- Corrections to the comments