- Fixed hook tests that broke when 'hooks' was renamed to 'extensions'.
- Removed all obsolete hooks, except from commands.cpp, which is being worked on in parallel. - Implemented new on-launch and on-exit unit tests.