implement a mechanism for closing open buffers
fix a horizontal scrolling bug when line numbers are enabled. also fix a but where the buffer that :e was called from was left in command mode after the new buffer was opened