remove comments, fix typos, remove hg