updated auto-gain logic
beautify meter segments