Change panel titles and fix query order.