Minor improvements to LeakTask.