fix connection handling when a graph is closed, add a post-close listener call...and fix some formatting stuff in ViewParams and RelationshipGraphConnection