W3C validation 

Enhanced error tests and scripting for w3c validation
Use 2 spaces for indentation in a hash, relative to the start of the line where the left curly brace is.