make wiki headings even more robust, rescue errors

also - do not display any edit links if the wiki structure is broken