instance function
Commit all currently written data to the map. This must be done for data to survive a save/reload.