r6997: added a private pointer to the task structure. This is needed by the session...