making Graph implement Closeable
typo
some updates to use of iterators in messaging-related classes
ongoing work on declarative link contract policies