lwt: add some docs
add XGMTHRID