added more end-of-line hueristics. word conf and line break thresholds.