Set up initial gains with init_gain() before (rather than after) potentially restorin...