multi-threading fixes the frame rate problem.
The first time we run, there was still the problem, but latter it disappeared (strange)