Minor fixes to spell checker.