Viewer: fix URLs, add error messages.