Not being able to save the game is related to the OoM issues.
The assault screen log re reading the XAML, I might just disable the ability to mod the values for now - or simply get rid of it as it is not that important anyway.
I have improved the way the game handles gal gen when Homesystems are set to Random. The Borg will always be alone in the quadrant they're spawned in (which is randomized), and always in its "outer" corner. If RandomEvents are set to No, no quadrant will be reserved for them.
The Dominion will only be alone and placed centrally in the Gamma Q in Canon games; in Random, they'll be treated like the other majors.
Also slightly tweaked the formula for calculating the minimum distance between empire homesystems.
Still need to distribute the other empires evenly by the other quadrants, and have no "empty" quadrants (to prevent some with 3 and some with zero).
Also need to decide what to do with how the Bajoran Wormhole will be handled with Random Homesystems - make it an Unstable WH