buffers: major cleanup and improvements

No match.