Re-use globals message
added loging diagnostics
Removed System.err dumping