Fixed partially written words jumping to next line due to word wrap

Fixed by inserting extra line breaks just before a word would cause a
word wrap to occur.