Added delegate for thumbnail loading