fixed a few minor issues, started adding the buffered allocator