Use right part of Levenshtein API
Don't crash on errors
Add dependency
Get rid of end-of-lines