Added a queue for bad events
Removed some uneccessary comments
Waveform event format information added
Parser now unmasks waveforms