Tk Query Client implementation