Removed unused code.
Added an out of stock tracking table so an overridden DetermineNextItemDef can know if an item can't be bought because it is out of stock.