Added start of thumbnail cycle thing. Added some comments.