Bug fixes and game state code.