Fixes #45: Properly handle word wrap in messages