Set HOME env var on run
Another round of simple fixes
Save whole registry on each commit
More trivial bugfixes