minor fixes. added autoplay. optimizations