1. Change PWM output pin (speaker) from pin #11 to pin #6
   (this means Timer0 instead of Timer2)
2. Bug fix in setting the flag that tells
   which half of the buffer we need to fetch
3. Some prints for debugging