Known bugs:

 - the multithreading code creates a delay in the grab thread so that
   less fps are captured while the grab log reports no lost frames;
   this occurs if the grab speed is near an integral divisor of 25fps
   I don't know if this is still the case.
