Ultimately we'll probably want this capability from other places besides failed loads... for instance informing the user that their browser is out of date. Maybe you should make this patch already have a viewer._showError() or somesuch instead of building it right into the event handler.