save item inventories on players; added static int to track which tab you're on