Changed the design of the slideshowwindow class.