Bugfixes in game.java.