Cleanup of webslideshow.py