added auto-fill mode for text buffers, and disabled line wrapping