added mail, priority and docking for the task system