bug fix with ref values not propagating to values aleady visited

In complicated situations where many deeply nested options are referencing resources, sometimes late expansions did not propagate there values to earlier expanded values.  This is corrected by tracking the reference value links, and making sure that older values are revisited with the new values.