Fix spelling and grammar in output. Remove unused code.