Use a timer to keep gpu/cpu in sync periodically.

Fixes Diva Extend demo, at least, losing FPS.
Merge pull request #3127 from unknownbrackets/gpu-thread

Use a timer to keep gpu/cpu in sync periodically