Fix re-parsing configuration when regenerate() is called, to pick up configuration changes.
Fix color mapping of areas.