Fixed bugs in ellipsing not properly calculating the length from the match to crop and padding the ellipsis on the wrong side (didn't between the text and the ellipsis).