so I added the `setTimeout` and that seems to break `test-window:testActiveWindow`, I'm just going to leave this branch as it is for now and we can make another bug later if necessary.