Fix for stat tracker reporting incorrect execution delay due to recurring tasks.
Also fixed not synchronizing when needed to do so, and not limiting the max window size.