updated thread_set_priority()

Passes priority-fifo but not priority-change for some reason.