Changed how the events are saved, instea of appending we overwrite because we only need to save the events for the current heartbeat, no reason to save all of them. Also fixed some prints
Merge branch 'master' of https://github.com/WSCU/Reactive-Engine