Fix to prevent lag by discarding frames when the jpeg decompressor can’t keep up, closes #1
Fix potential leak
Add .xcchec file