Perfected

I fixed the bugs about disconnected. Also add new features including
client-joined,left informations. Everything seems to work just fine.
I deleted other clients so there is only one left, the mastered client
code.