Trim needless header and footer (trailing linefeeds) while here and fix some minor typos/grammar in the English text.