Dualism: Upgrade Stats, part 4: Lightning,. and more Optimization

"Ahhh motherland!" This week was focused on getting more upgrade stats done, and I got sidetracked with more optimizations. Good thing though, I think there were some interesting ones made that I hadn't thought of befor…