Fixed crude AGC a little better and more testing.