I don't understand what's going on with the code, however I put in a much better default processing system. There are 2 parameters that control the way ticks are managed and you will observe how he manages updating if you place them. It appears to be some kind of cycle saving egy when it is unattended so that the computer doesn't do useless work. I know that is my best guess and that sounds bizarre, but is the code.
Anyhow, I added a default handling egy that processes ticks in the traditional wasteful way. If you want to override the default option and use his egy,...