Make textfile_width() check for too large lines.
Fix textfile_width() line length check position.