Logo handling
safe code
log handling
fix news archive SQL error
Merge pull request #170 from sbillard/master

bug fixes