added demo mode
limited if gain to a 25 dB max