When loading images from a (private) github repo, display proper error messages

When LEAFWriter tries to load an image from a (private) github repo but gets a 404, because the image that does not exist, there should be a proper error message in the ImageViewer