Mostly-working version of heap_index_hooks using headers instead of trailers. Some alarming problems remain though, so will soon revert to trailers.
Revert to using trailers instead of headers in heap index.