Fixed GenericInventory's static variables and methods to support multiple bots.