Purged "thread_local" from code base. Replaced with C11's "_Thread_local", gcc's "thread" does not parse. I don't know if _Thread_local and thread are different or not.