 			{
 				// disable pen
 				penTool.editMode = false;
-				penTool.penEnabled.value = false;
 				
 				_penToolMenuItem.caption = ENABLE_PEN;
 			}

		}
		
		public var drawing:Boolean = false;
		public const penEnabled:LinkableBoolean = newLinkableChild( this, LinkableBoolean );
		public const coords:LinkableString = newLinkableChild( this, LinkableString, handleCoordsChange ); //This is used for sessiong all of the coordinates.
		public const lineWidth:LinkableNumber = newLinkableChild( this, LinkableNumber, invalidateDisplayList ); //Allows user to change the size of the line.
		public const lineColor:LinkableNumber = newLinkableChild( this, LinkableNumber, invalidateDisplayList ); //Allows the user to change the color of the line.
		private var placeholder:int = 0; //This is necessary for drawing the lines. The placeholder keeps track of what has been drawn so there is no re-drawing.
		private var _coordsArrays:Array = []; // parsed from coords LinkableString
		private var _editMode:Boolean = false; // true when editing
		
		public function get editMode():Boolean
		{
			return _editMode;
		}
		public function set editMode(value:Boolean):void
		{
			if (_editMode == value)
				return;
			
			_editMode = value;
			
			if (value)
			{

				removeEventListener(MouseEvent.MOUSE_MOVE, handleMouseMove );
				
				CustomCursorManager.removeAllCursors();
			}
			invalidateDisplayList();
		}
