Only send to server and client when the outout is not empty string, could fix output new line problems?
New debug mode, default config file tracked