Small refactoring
HTML fix
Rename variable
Add a separate report file with the list of all files
Store source files in a 2-level directory structure

To avoid having thousands of files dumped in the same directory.
Remove impossible TODO

Scope hooks are inherited by cloned interpreters (e.g. threads) and can't be
unregistered.