The DEFINEs are left over from a post by Nils in 2018. I haven't checked them forever, but look to be correct from

It all works if I leave my page procedure in place, not if I don't. I'm happy to do that anyway but I'll come back to this.

Thanks for the help.