End-game state added and lots of comments.

End game state has been added and also removed a lot of zombie code and
added comments.