finally figured out txt wrapping. closes issue #4.