added spell checking to notepad mode