Added utility for finding duplicate entries that wreck havoc
Added checking for invalid tags in modelcheck
Fixed rendering of thumbs for gifs