Added Levenshtein distance for caption compare. Replace print with logging