fixed #24, but now no unit is selected at the start of the game
fixed #22
unit/castle with zero health did not get marked as defeated
don't move occupied units