Switch to buffers, add autosaving of sessions