Working on UI and events.