In addition to fixing a few bugs, this patch gave some
types of memory allocations their own pool, and cleaned
a few things up. This seems to address the memory leak,
but there's still a vnode leak somewhere. The vnode leak should
be smaller than it used to be, though.