Double binary search applied
model: don't raise exceptions with Unicode message

it sometimes fails to display, which is quite annoying.
Merge remote-tracking branch 'remotes/origin/kimon-AutofocusUpgrade'