allow exit string to close window, if it is a keyword