Fixed config manager pass by value, muting problems, and other bugs.