Adds most of the layout buttons.