Misc improvements to deb task