Added a new thread status: LWT_S_CREATED.
Added __lwt_get_next_threadid()