added image loading error alert; added support to set parameters via hash in index.html; added samples page