fix for some bugs

fix for firefox
fix for reports where all troops are dead because of the wall except the
spy`s
Merge pull request #2 from Tjeerdo/master

fix for some bugs