fixed the removeItem() call in CoreInventoryManager. Fixed the style on my if statements