helpers with debugging
moved history / local config info into config file
making things more modular