Configurable gain type

Now you can choose the gain type from the manager settings/