controlpanel: add support for AutoClearQueryBuffer & MaxQueries