Save data immediately when data map is initialized
* also clear dirty flag when saved
removed debug code
Merge pull request #1284 from JeffPyeBrook/pr-1283-saving-and-restoring-datamap-class

Save data immediately when data map is initialized