thread priority stuff minor