Some basic rendering and logic.