CalibVisualizer, dispatch and draw from thread.
Fixes and cleanup in find_marker_pair.