NSSpellChecker plugin cleanup
Cache the sharedSpellChecker instance in each method that uses it
more than once. Also, retain the m_langCode NSString for the lifetime
of our NSSpellCheckerDict instance. This prevents a crash during the
language guessing step.