Added the debug-mode that I removed by accident when merging.
Made the error handling in config interface slightly better and made the dummyserver work with it.
Merged?