Merge pull request #50 from EJEHardenberg/dev

Fixed issue #49
Merge pull request #51 from EJEHardenberg/dev

Fixed issue #46 with a dirty dirty hack. Messed with the z-index of the ...
fixed games, games lost, and games won issues with sleep timers
Merge branch 'dev' of http://github.com/the-hobbes/softwareEngineeringFinalProject into dev
Merge branch 'dev' of https://github.com/EJEHardenberg/softwareEngineeringFinalProject into dev
fixed issue #52 by doing a check for the endgame state in resetActiveFlags, and if the state was endgame, then calling the damn endgame method. BAM.
Fixed issue #54 before Phelan becuase we raced to do it. But its ok because we all love him even if he lost.