Fix stupid spacing in tls.c.
Fix a small typo in a doxygen comment.
Add in C11 threading support.