GUI now send messages to server & handle commands