avoid skipping of images in slideshow on slow hosts
move some javascript variable initialization from PHP to javascript
add comments in javascript
better busy indication in slideshow