Fix auto-crash with some async errors. Now, when there is an async error, just duplicate the message and print to console, (may get double messages).
make some improvements. Log more data to console, and clean up a bit.