Merge "Fix thread priorities for unstarted threads."