common: add nifty new features to dotask
common: add nifty new features to dotask

Thanks to Piete Brooks for the suggestion and initial implementation.

RPi-Distro/spindle,MrNice/spindle,thusoy/spindle,asb/spindle