TLS: Made threadId an official citizen of tls.h
Snzi: Basic sequential test for snzi.