more edits to webslideshow.py