Added thread_assert() to thread.h and added a streaming xml parser.
Added a streaming xml parser.