1. Fixed minor bug in WAV encoder.
1. Sound quality improvements.
2. Tuned beat-per-minute detection algorithm.
3. Added FLAC support.