Fixed huge slowness of generated content detection code in webkit

Includes a new code to make sure a frame is painted on screen at least
every 60ms (ie: move to async!)