Added message handling to set the board size at the client.
Client/server thread termination still does not work.