Updated demo, and improved valhook checks.