Fix NPE in text search callback
Add setting to remove prio when completing. Fixes #137