Added log messages and error checking to InventoryRenderer