add some small bookkeeping to id tracker to know how many marks it is carrying at any one time. clean out the rest of the db stuff that was there for pending