Fix multinode GBM

Fix bad checksum hash for modelmetrics;
Fix various leaks, or updating the wrong copy of things.
unwind unintentional change