Synchronising dual thread movie input with frame drawing instead of a tick interval

because that make recording more deterministic