Fixed search to wrap to beginning properly.
Fixed automatic scrolling when using find.
Implemented incremental find and replace.