Trim lines that contain too many characters.
Updated comments.