Flushing out monitor and alert functionality.
Cleaning up output folder.