Add auto-save and bufkill