Find and Replace fixes

I fixed some problems with the current Find implementation and then added Incremental Find and Replace functionality.