mainwindow - warns the user if undostack ! empty

Instead of checking if a mapfile (potentially with no modification) is
loaded, check the undostack.
Mapsettings - some cosmetic UI changes