use reliable API |Services.focus| for getting focus
explicitly clear unused reference to DOM range
fix wrong position of initialization flag

* set initialization flag at end of initializer and beginning of uninitializer.
assign reference to local variable for readability
fix no blinks on find again in zoomed document

* compare the range position with the owner window height.