Now able to initiate a window for the slideshow
Code cleanup