I just installed Mountain Lion on my Macbook and everything is running smoothly apart from the computer not shutting down when I turn it off. The screen goes black, but it keeps running. The only way to turn it off completely is to hold the power button until it shuts down. Also, whenever I close it and it goes to sleep, it stays in sleep mode even after I've opened it again. Any help would be appreciated.