Error in portalgear.cs has been solved.  InventoryUtil.cs error continues.