James L. Gaines, Comptroller