Implement basic UI logic.