             _socket.writeShort(_height);
         });
         _socket.addEventListener(IOErrorEvent.IO_ERROR, function (event :IOErrorEvent) :void {
-            // TODO: display error
-
-            var str :String = "Connect error";
-            drawString(str, (_width - str.length) / 2, _height/2);
+            fatalError("Couldn't connect to server.  Please try again later.");
         });
         _socket.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
                 function (event :SecurityErrorEvent) :void {

            line += " ";
        }
        line += '\n';
        for (var jj :int = 0; jj < _height; jj++) {
            text += line;
        }
        _field.text = text;
        _field.setTextFormat(_unlitFormat);
        _field.x = (loaderInfo.width - _field.width) / 2;
        _field.y = (loaderInfo.height - _field.height) / 2;

        // create the highlight bitmap data and highlight array
        _highlightData = new BitmapData(bounds.width, bounds.height, false);

    /**
     * Creates a new, empty window.
     */
    public function Window (id :int, layer :int, bounds :Rectangle, fill :String = " ")
    {
        this.id = id;
        this.layer = layer;
