Distinct dropdown now runtime property. Several layout fixes for chart and aggregates modules