Output buffering

Added in an output buffer to capture output generated by targets
as proposed n rfc #14