Start of Slideshow demo code.