Fixed and modified XNAGame.