Implemented get/setGameMode in CanaryWorld