added logic for selling out of items, plus totalMoneySpent tractracker