Fixed errors and warnings seen with glue-validator