Minor task fixups
And some more minor cleanups
Fix a dumb error in thing.tasks.APITask