incorporate changes from private repo.  eliminate warnings, better error handling in replication and graph creation. disable reuse of bytes from heap temporarily until deserialization errors are fixed.