Made save/load working. And fixed config problems.