Some work on #14
- Add simple content information
- Fix issues with headerSize fields
- Fix issue with wrong pageref ids