Fix uninitialisedness bug in root_die.
Update README.
Fix core-query example so that it actually targets the core API.