Hmm... It must be the AI that's slowing it down, then. I might have to rewrite it in C++, and bind it to Lua.
I'll look into the close command bug, should be an easy fix.
I already fixed the ally spawning problems, and posted the new version with a few other bug fixes on the site.
Yeah, I'll definitely need to rewrite the AI, both for speed, and to fix some undesirable behavior. Thanks again for the bug reports. As always, it was hugely appreciated. I figure for a 2 day project, some bugs are bound to be present, and the sooner I can iron them out, the better.