Cfq, deadline tweaks (credits to Franco Dev Team)