use config instead of configuration

this was kind of overzealous
map_editor: more flexible macro handling

makes less assumptions about the structure of a header