More consistent section headings
I tried to apply more consistent capitalization for section headings,
and use source code formatting where appropriate in those headings.
I have left some headings alone because they were seemingly intended to
be complete sentences, which is pretty bad but not something I want to
change in a "small fixes" series.