rough edits to webslideshow.py