added ignore and smart case search
Handles ctrl-d better