implemented some TODO's in SpellChecker