Shared buffer update

Beap modules that use buffers are now aware of each other and can
exchange the contents of buffers directly without the intermediate step
of saving the buffer to a file and loading it.