So far my plan for dynamically creating random elements is working. I have an endless game universe. It is still buggy though. I'm only rendering the elements in view bug there's a problem with that logic, it seems the active area is moving faster than the current x/y somehow. I think once I get that worked out I can test that I am only creating new elements when the player is in a new location in the game.
I'm currently doing that by looking at the min/max x and y of the existing elements, if the view is beyond either I can generate more.
I ran into an issue when adding elements while I'm reading them so I added a boolean I can set to true while I'm reading them. I don't spawn anything while that's happening. So far that has resolved it while still giving me windows of creation opportunities.
I just need to debug the active element check.