Fix spelling mistake and perform minor code cleanup
Grammar, wording, and formatting nits