Add new elements to uthread structure and change pq schedule logic to credit schedule