Context

- Relocated Hooks::onLaunch call from the end of ::initialize to the beginning
  of ::run.
- Added a TDB2::commit between ::dispatch and Hooks::onExit.
Context

- Restructured code that handles initialization failure, which was checking
  the rc value at each step, which is not necessary and confusing.