Minor refactoring

Filter out favicon.ico etc.