This app will shut down your computer the correct way and all it needs is applescript!