cursored search, conserve memory during 3.x cust_pay upgrade, #23725