Fix incorrect reporting of memory taken by pinned indexes
Attempt to improve markdown formatting