draw stack status of a task