Added some more debug output and fixed a mistake in the default config