DRILL-1163: Estimate memory and re-planning query + DRILL-1065 + system options UI.