Fixed various W3 validation and layout issues