REFS #55: Thumbnail refactor.