scattered fixes on log messages and levels (shutdown related mostly)