Updates to HACKING.rst and TODO.txt.
Minor bugfix.