Alrighty, a couple of copy-paste bugs down, and a fix for the ring/sphereworld entries messing with the stats.
I think its working now...
Just need to make the systemtypes.txt analysis much more efficient so it dosen't take all day to finish.
Then the quadranttypes part will be a simple sum of the system stats!
I'm letting this beast run overnight on the stock datafiles to see what it comes up with
