general bug fixes & added onError for dead images

mostly added a way to handle cases when loading an image failed.
text can be chanegd via CSS.