better line wrapping, tries to wrap at a space in the second half of the line