Wrap lines

Wrap text at whitespace to a chosen maximum width without breaking long words.