Fix bug where level directory is created when starting the map editor

Changed is made so that it creates the directory when exporting the level to
XML.
Show message when exporting XML and map image