Threshold and Time Window are now possible to change in execution time. Fixed exit bug.