CSPACE-5988: Rename reset_* map variables to refObj_*.
CSPACE-5988: Fix thisr maps not being reset in each iteration through the refobjs results.
CSPACE-5988: Remove some of the refObj_* map variables, since they aren't really doing anything.
CSPACE-5988: Add comments.