Issue refs #1327: remove debug code, add right transition to task view
Issue refs #1327: delete task implemented