A few minor changes to buffering.c and add the plugin version.