Pull request

I am going to take a break for a few days. If you decide to accept this pull request and continue from what I did, remember that there is still some MP problems to be solved, like that a player seem to have problems with sending the disconnect package to the host. (I used LAN when finding this bug)