Update browsing URLs and patterns.

Also cleans up the thumbnail parsing code.