Added for client quitting properly.
Changed to be more server friendly.
Small Edit.