Backport stackdump fix

#244 fixed the stack dump for running `Task`s. 
This backports it to `0.14`. 

It includes the `Future` change, but that change is not behavioral.