Cleaned up compilation warnings.
Fixed detection of false positives in audio/video streams. Refactored source code.