gapClose func is written and not throwing errors, per se.  have become aware of a problem with the datum's update method, in which each level's code is being updated with the full array of codes...  that is causing problems later on in the process.  Going to fix that now.
stopping here at a presentable point so I can present project progress
fixed issue with Datum update, with caveats.  update will only update properties on the lowest level, because updating higher up will mean changing the whole tree.  That isn't necessary at the moment, but may be in the future.  it's worth adding the ability, but later on.
fixed a weird issue.  changed name of gaplosingAmounts to gapQueries b/c, somewhere in the code (no idea where) there is a gapClosingAmounts with the php version of the values that is overriding my version...  maybe there is some commented out code causing problems?