Growth fix from Frederick Zahle, plus json/bson recorders for VariableTrees.