WIP: fix(client): Print an error message if there is an uncaught exception while rendering.

I'm not fully sure I am sold on this approach. I also tried creating an UnexpectedErrorView, but was not happy with that either. More to come.

fixes #1365