Remove double line ending at EOF
Correct misspelling, reword comments