Finished DoGetField
A bunch of formatting changes.
renamed a variable