Setup the layout and hacked around at stuff.