Really fix the inclusion of static files.
Another try fixing the templates and statics
Don't bail out when a value is None