Renames some arguments for clarity
Adds commented out debug lines
Parameterizes table row colors, fixes updates to td text