Removed useless shutdown stuff + doing some logger stuff.