Update ItemManager.java

Minor changes to imports and comparisons(long against null)