Improvements in example code for the programming guide as well as adding serialization support for GraphImpl to address issues with failed closure capture.