Hey there, I'm actually having two problems...

First of all, lately I've been having issues with the sound. Sometimes the music just starts sounding really bad and I have to either close firefox or skype to make it sound fine again. Sometimes that doesn't work. Is there a way to know what's going on?

Second problem: I think my computer is not shutting down correctly, but i'm not sure. How can I find out?