add experimental console error handling
tweak console error handling