Gain has useful range from 1-16

and removed app delegate methods that are unneeded