WIP: Refactor Tribler to use the new TaskManager class