Gain scanning works but does not save to the DB

Thanks to having to wait for IO to flush out.  Work continues.
Replaygain: Fixed.
Scan results admin tool