moved static counters into member data and added counter for number of events
Check that the total number of events were actually processed
Added a simple way to keep my output from being messed up
For now treat endRun as an atomic activity
Use writeLock when doing output
Keep track of run and stream counts as well as use writeLock
Test that the proper number of Run and Stream transitions have been seen.
Properly handle global end run