Mode and hapaxing added to levenshtein, some clean up.