The error upon quitting is well known and has actually been around for a long time now. There's no fix for this at the moment, and since it doesn't interfere with gameplay, it's rather low on the To-Fix list. Usually I end my game by killing the psclient.exe process from the start.