Updates to graph, memory, leak detector, and serialization
Adding comments about word-alignment in serialization