A possible solution for the alt-F4 thing is to have this system as I've seen in some MMOs, where your character "camps" out. They sit down and there is a countdown of so many seconds until you are successfully logged out. But if you just close the game without camping out then you're character might persist in the world for a minute or two, just standing there, and you wont be able to control what happens to them.