Low Latency Frame Syncing

Modifies the way thread syncing is performed to greatly reduce input latency.