Fix a couple typos and work on formatting and comments.