Logger, console, global cleanup