public void run() {
		try {
			connectToServer();
			setupStreams();
			whileChatting();
		}catch(EOFException eofException){
			MotorControls.sBar.setText("");
			TCPmessage(" [~] Client ended connection", 4, true);
		}catch(IOException ioException){
		}catch(NullPointerException nullPointerException){
		}finally{
			cleanUp();
		}
	}