fixed interesting model update bug in variables viewer. The cause was that the model deltas could not be computed because the previous state was lost. The debug model simply computed the difference between the latest state and the latest state, therefore never considering that a delta occurred