Updated some game logic and other minor improvements.