I think I found a bug in med.
I was having trouble with the Environment File disappearing when saving and reopening certain maps with certain environmens. It turns out the problem is with environment files that have a space between the name and the number. For example, "Dusk 3" won't work, but "Dusk4" does work.
It doesn't help to edit the .mis file in an editor and put quotes around the environment file, because when I bring it into the med and save it as a binary the quotes are removed.
Does anyone have any ideas for a way around this?