Getting the UI laid out.