Sort of sensible 'current task' detection