Util

- Reimplemented execute(), this time (hopefully) deadlock-proof.
- Added error handling.
Hooks

- Cleaned up on-add.the example hook; now works with huge input without falling over.