Spell checking and reformatting

Look at 59bb546 to see spellcheck diff; rest is merely reformatting long lines by word wrapping.