Renamed timestamp to heartbeat, cosmetic code changes
Removed the fOutputState vector and the checkStaleHeartbeats method