Time limit on for(int loop

  if ( (doNothingFlag == 0) && (now - lastCycleTime < mixer))
  {
    diming = random(10,100);
  analogWrite(led, random(srumble,brumble));//Turn on LED for short or long burst
  delay(diming);//random number
  }}

This can be done without the delay if you change the second condition to check if it's been at least diming time since it was last run.