Change OutputStream so it can handle 1-thread MT EventService
Change how the OutputStream interacts with the Sequencer so that EventService MT can work with 1 thread.
Also, hopefully fix the output file overwriting issue reported in ATEAM-976 by making sure the output substreams AND their metadata are handled correctly in all situations.
Edited by Marcin Nowak