Add support for SlideShow, refactor configuration, solve bugs