Renamed a few vars to be more descriptive.

It's hard to search a file for single letter variable names, so in the process of trying to understand the code I expanded a few of them to names that I think are more descriptive about what they do.