Fix issues arising from changing all words to lowercase
Fix bugs in the interpretation of some words, update example programs
Fix some word misspellings