Add buffer manager. Have tree view sort of working -- needs to check if selected buffer is different from active pane/active buffer and if so switch.