Grids & Tabs

Worked on the layout engine and making grids and tabs work