Too much cut and paste

For both Timer0 and Timer 2:
// 00 A off,
toggle on compareshould be:
// 00 A Off, pin works as general I/O
same for B...
// 11 Low part of WGM: PWM,
phase correctshould be:
// 11 Low part of WGM: PWM, Fast PWM
Then, when you set the pin On, you comment:
// 10 A on,
toggle on compareshould be:
// 10 - A On, set at Bottom, clear at compare match
//
5 B on,
toggle on comparehere instead of pin number 5, there should be the way you are setting the 2 bits for the channel B:
// 10 - B On, set at Bottom, clear at Compare match
There is no "Toggle on Compare", they should all be "Set at Bottom, Clear at Compare match" for all timers in the setup you are using.
Other than that, the functionality is good, just the comments are wrong. We don't want people to get confused, right?