fix a premature EOF bug in filepipe
actually close processes' stdins after the input is exhausted
export message and time stats from instance. use that in main.
added instance stats printing