refactor select,add closeable to navtab,add comment to some files