Added basic possibilities to edit the map.