refactor #persist_config, bugfix for supporting multi-line group descriptions with config