Improve the output of “Validate Syntax”

Hi,

this pull request contains the following changes:

- Use web theme in “Validate Syntax”
- Use filename instead of absolute path in “Validate Syntax”

I hope the changes do not break anything. Please feel free to make improvement suggestions or ask questions regarding the changes.

Kind regards,
  René