Now all layers which are imported, will be linked with the associated MF_Layer. (import_mapfile): All layers, which are not selected, will be removed. Disable the "import layer from mapfile" menu option.