Sorry everyone. After running into a bug I didn't understand how to fix without creating more bugs, I realized I can't maintain this anymore.
The problem is I haven't played Factorio in months, and changing map settings without breaking something accidentally is HARD, especially since Space Age. It needs to be done by someone who actively plays the game. Not me.
I recommend replacing this from scratch. The mod was years old when I updated it for 2.0, and I did it in a rush. I felt it was an emergency to help players who started maps incorrectly in 2.0 and needed to fix them. Many of my changes were kludges, and I always intended to rewrite it all.
But it is open source and no one needs my permission to update it.
Most of all, you want to generate UI elements programmatically instead of coding in so many things, in so many different places.
Again, I may rewrite it if I play Factorio again ever. But no one needs to wait for this.