Fixing induced bug with refresh_rate change
Testing subject specific random states
More precision in precise_wait