Added capability to stop search/replace