Debounce instant mode queries

Currently, typing in a long query in instant mode fires of several requests to the server. Delaying these requests until the user has stopped typing might be a good idea.