further work on config system and config saving
5 files changed