Improve rendering task queue for files tree