Bot War: Patch #2

Sorry for the lack of upgrades for a while. I've been working on tracking down and fixing a load of memory leaks, and this turned out to be quite a massive task. I've now put this work onto the beta branch. Players shou…