OpenLayer()
SaveDirtyLayersToDatabase
LoadMapFromDatabase(16)
MapNew() - create a new map without layers
MapOpen() - display a dialog for the user to sleect a map and then open it
OnLoad()