Various bugfixes

Various bugfixes on slideshow...