public MainGUI() throws UnknownHostException, IOException {
        list = new ChatPersonList();
        log = new ChatLog(new FileOutputStream(new File("chat.log")));
        // Make the gui
        initComponents();
        // Connect to the server. Default is to connect to the local one we made during startup.
        initConnection();
        // Set up linewrap in the message typing area
        mainTextArea.setLineWrap(true);
        // Make it wrap by word, not be character
        mainTextArea.setWrapStyleWord(true);
    }