I think I needed the s.waitForBoot ultimately, though I’m not entirely sure about that. I figured once the server is booted I wouldn’t need that, but I could be wrong…
At this point I’ve just left it in. I’ve had really good success with the grid study, went through all of it and am now working on building entirely new stuff based on what I did there.
I’ve also switched the trigger array to Array2D which makes all the indexing operations a lot nicer to code.