fixed condition ending

additional logging
corrected testing
todo: what to do with un-ended conditions after last iteration through data?
clear __running_conditions before scanning new data
extractor output