added resumption token for currently processing jobs
fixed badresumptiontoken bug, added basic record loop