Less code for defining $mapname and cleaner printing of the mapname on different places.