updates to grid paging, deducting from debt when payments are made sorting on drop downs