Added q as command.

Now you can quit if it found more entry with q.