Make DeckTask a bit more defensive.

Add an easy way to check things are called from the right task and add
that to DeckTask.

Add an easy way to log methods being called.