Modified threadid accessor since other project has been updated for clarity.