added name and priority to loader thread