adding syncomplition to query window

i read an issue about autocomplete (by  maxirobaina), so i try to make it.
the complition word list is loaded from the file querycomplition.txt