Query panel is almost done