Adding edit distance counting, and changing the way we blacklist insufficiently good maximal matchs near the ends.