BUGFIX: Fixes up latency monitoring to do a sliding window