Fix some spelling bugs in documentation and comments