Fixed the no items bug.

Also removed unused constants.