more flake8 changes
sensible daemon logging to stderr