removed a broken debug link
gave TemplateEngine templates access to new ENVIRONMENT config value
added more expressive options to DAO for specifying inequalities