Update chat_client

Still working on getting the client and Server to communicate and kill the threads upon closing. Right now the X button in the top right closes the client and sends a message to the server that its closing.