Disable controls during measurement.
Add tentative measurement threading.
Add some comments.