slightly modify colour styling to be clearer for multi-record html output
add missing header
free memory on parse error
make sub-document buffer dynamically managed
fix html formatting and add basic styling
also show partial matches; improve html formatting
initial commit