-Fixed some very frustrating bugs with inventory management