A few changes to the hg-app.