Emacs 24.4 electric-pair-mode instead of smartparens.
kill-other-buffers added.