 
 import flash.geom.Rectangle;
 
+import flash.net.SharedObject;
 import flash.net.Socket;
 
 import flash.text.TextField;
 import flash.text.TextFieldAutoSize;
 import flash.text.TextFormat;
 
+import flash.ui.ContextMenu;
+import flash.ui.ContextMenuItem;
 import flash.ui.Keyboard;
 
+/**
+ * The Witgap client application.
+ */
 [SWF(frameRate="60", width=800, height=600, backgroundColor="#000000")]
 public class ClientApp extends Sprite {
 

        _field.setTextFormat(format);
        _field.x = (loaderInfo.width - _field.width) / 2;
        _field.y = (loaderInfo.height - _field.height) / 2;

        // listen for key events
        addEventListener(KeyboardEvent.KEY_DOWN, sendKeyMessage);

        }
    }

    /** Persistent preferences. */
    protected var _prefs :SharedObject;

    /** Our gigantic text field. */
    protected var _field :TextField;

