save global tasks info and implement ps() to show pid and status
correct the pattern of TOD message,  use TODO:  instead of TODO