Add header formatting, and remove minor typos