better handling of when save map fails, display error to the user
Merge pull request #210 from bartvde/savemap

handling of failure on map save should improve