Add degrade_mask to mapmod.
Added a duplicate field name detector to read_map.