Nearest now returns undef if not found. Spell checker better.

Tested out the spell checker on various texts, found a lot of
bugs. Improved.