slideshow and some cleanup