Priority queue for thumbnailing