Developing query GUI.