remove debug messages
improve comments for TaskManager, Task and TaskTest