Fix default config mess up, and make debug output fancy