support command line argvs.
fix a bug when join non-exist token.
support resize event.