Removed search - didn't work, my misunderstanding
Reworded page indexing to parse pages and calculate headings dynamically rather than via hard-coding