Removed unnecessary import
Fixed NPE
Fixed opening fire bug
Fixed bug of unit counts not getting updated in time when a battle is calculated