Changed representation of buffer line form splay tree to gap buffer.