Move InsertLine/DeleteLine from cursor to buffer.
Fix tabstop length discrepancy.