added exception for locked videos
Merge pull request #648 from shopgirl284/historyfix

added exception for locked videos
rewrite of SortThumbs for PBS
Merge pull request #649 from Gerk/pbsfix

rewrite of SortThumbs for PBS