Timer2 interrupts and Serial.println interferrence

PaulS: Thank you for your guidance. I will modify my code.

pylon: Good detective work. Yes, this is the first section of code.
I need this code to produce a PWM with a period of 512 micro-seconds and an indication (interrupt; "stay away from delays") it has completed a period. I want the same PWM duty cycle repeated 8789 times or approximately 4.5 seconds.
I want an ISR to count the periods and flag when the 8789 is reached.
Then the PWM duty cycle is modified and another 8789 PWM's are generated.
I also want to measure the current (ACS770ECB-200U) for the first couple of pulses of each set of 8789 pulses and send the data to a PC.
Thank you for your time.