thread_id queue is now always used

- thread_id queue is now always used and there is no option for linear
  search of a thread id
- Removed some obosoled volatile quelifiers