display stacktrace on console when widgets cause errors