better console log functionality
scripted update of code from master at c20c0fd better console log functionality