Added synchronizer thread.

This is needed to move duplicate frame generation from GLInjectInput to Synchronizer.