Add option to avoid word fragments at the end of the container

... and only keep full words. It's basically working, but doesn't yet handle some edge cases.