Sample iliad autoreduce working both in event and non-event mode

Allows stopping on request and checking/reducing temoprary and permanent files