Put random battles back in.
When one team dies, the battle ends.
Fixed imports.