modify changeFavicon
make onMsgFuncContainer.
add comments