Added cancel label
Moved cancel and close operations code over to task monitor; moved auto close clsoe to task monitor