Added cleanUpConfig to ViewStore

- this is duplicate code from UIView so we need to consolidate this soon and maybe make it a mixin
Fixed some issues with the openEntry method and how it was handling iframes and UIViews