Update addConnection to not add same connection more than once.  Update saveImage to remove scrollbars and add delay to ensure rendered.  Update settings for tree view transform (should be passed in as config object setting).