Heart of the Machine: Hotfix 46

A few more fixes, and then various bits I was working on. Hotfix 46 Changelog More Mod And Code Framework Updates Math Automation: Converted a bunch of layout math to be driven by xml instead of C#, thus allowing for tu…