remove a bunch of unused variables to cut the warning count down a bit.