Thanks for the feedback. I've made some optimizations. The biggest improvement is that drawn-out battles now speed up, which should eliminate almost all those situations where troops just stand still. Further optimization would have to be done in a standalone version, if I end up making one.