             self.textLabel.stringValue = person.mood
             self.textLabel.toolTip = person.mood
             self.timeLabel.stringValue = person.lastSeen.relativeString()
-            self.timeLabel.toolTip = "\(person.lastSeen.fullString())"
-            self.photoLayer.contents = person.image
+            self.timeLabel.toolTip = person.lastSeen.fullString()
+            self.photoButton.image = person.image
         }
     }
     

        return v
    }()
    
    
    // Constraint setup here.
    public override func loadView() {

        self.view.translatesAutoresizingMaskIntoConstraints = false
        //self.canDrawSubviewsIntoLayer = true
        self.view.wantsLayer = true
        self.view.add(subviews: [self.photoButton, self.nameLabel, self.timeLabel, self.textLabel])
        
        self.photoButton.left == self.view.left + 4
        self.photoButton.centerY == self.view.centerY
        self.photoButton.width == 40
        self.photoButton.height == 40
        self.photoButton.right == self.nameLabel.left - 4
        self.photoButton.right == self.textLabel.left - 4
        self.nameLabel.top == self.view.top + 4
        self.nameLabel.right == self.timeLabel.left - 4
        self.nameLabel.bottom == self.textLabel.top - 4
