Fixing thumbnails to have hover and active states only if effectively linking somewhere.
Renaming template files.