Fix to use current_host
IN PROGRESS
Convert logging over to string only ops
Tightened up error reporting

* -debug= arg now lets you specify debug level from cmd line
* reprioritized some calls.