Thumbs directly load from mediastore instead mediastore.thumbnails, code
reorganization