Track errors back to console

We log and store this info as well as use it to give up after too many
failures.

cbugg: close bug-753 bug-772