Add support for naming tasks

Mostly, so that they can't be scheduled twice
Also added support for getting status and canceling via names.