fixed to actually save unfiltered data, also handle no triggers
actually fixed problem with not saving unfiltered waveform
changed to loop through hours instead of large chunk at once