Added checking Overstacked items, and reorganized.