cleanup, fixes to hgrc and deploy.