error messages now apear inline with the page, this allows some php challenges to work better.
fixed an error in the regex for file and folder names