Add HACKING docs and minor tweaks.