initial testing for snapshot opening session state (has bugs)
added support for map layer in the map tool widget (labels returned from
script)