Autofocus; avoid errors on empty lines