Enhanced performance regarding thumbnail image drawing. (Issue #6)