Added recent query creation and management