mapsettings - QUndo onto the debug value

- Introducing a new command for the debug value
- modifying setMapSettings() accordingly