Fix user applet log out/shut down, and some other things

I can't it took me so long to figure this one out.