Hud improvements

Not for merging yet: just to keep track of which issues it closes that aren't mentioned in commits.

Closes #30, Closes #31