Merge "Effect: Move thread priority updates from threadLoop" into tm-qpr-dev