Programming guide: fix typos + add page links and table of contents