Tl windows graphic tests

Dear Joker developers,

These commits improve the graphic tests to workaround false failures on Windows.

(grabFrameBuffer does not return a fully-rendered image on Windows, and the paint event is not received without a little wait)

Thanks for your attention !