Shu,
After I changed the doc and doc name in GUI, the default caret position is on document name, which is supposed to be on the document. Also, the caret status seems to be wrong as well. Can you take I look at it? Sorry for what I have messed up, thanks.