Fixed the display of gifs a little, and tidyed up some of the ending stuff.