Added the function to check if a mapobject exists and used it to set the status of the menu items. If no mapfile exists the settings could not be edditied. Define after which menuitem the exportitem will include.