Reworked tracker initialization.
Improved error handling.