Add focusing, and fixes non-clearance of prev searches. Add
documentation.
fix crash