Added UI controls to main view.