Actually there is one (theoretical) case it doesn't catch: the window loading takes more than 5 seconds, and the callback registration takes even longer than that. I think we're safe from a callback registration taking 6 seconds though :laughing: