Fix bug with parameters after loading new config

- After config load, old parameters were being left behind, so values
were not updating correctly
- Removed temporary logging and irrelevant system error write.