Made TaskProcessor give Tasks a pointer to itself.