Some better docstrings and a default value for config_logging(..,echo_level)
massive ugly code dump because I am going migraine blind