Fixed warnings. Added line break mode with truncating tail.