use markdown in HACKING.md, update it, fix typos