Vim-bufonly is a project mainly written in Vim Script, it's free.
Christian J. Robinson's plugin to unload all buffers but the current one.
:BufOnly without an argument will unload all buffers but the current one.
:BufOnly with an argument will close all buffers but the supplied buffer name/number.
install details Either :source it or put it in your plugin directory.