refactored admin stuff. added looping and autoplay.