Fixed memory usage explosion when running a battleground.
Cleanup of math code and removal of numerous string concatenations.