Cleanup some warnings.Suppress one unused warning, change references to GameData's block/item registries to the new getters.