Add comments
Use reader.fieldnames instead of .headers class param

also shorten var names
Better dialect sniffing and custom dialect handling

Also ensure that dialect defaults in settings match program defaults
Simplify HTML table looping
remove whitespace