Have the previewer handle any errors loading templates

This is going to be used inside a service, so it's more useful to
report the errors per-template back to the caller as content than
allowing the exceptions to bubble.