protected override void GazeDataReceivedSynchronized(object sender, GazeDataItem gazePoint) { lock (this) { if (collectingData) { gazePoints.AddLast(gazePoint); } } }