Improve jpeg drawing.

 - draw one of every 10 frames
 - free MemoryStream