All layout is now done in main.js javascript.

Since this should look like a desktop application we want all UI elements to resize to exactly fill the window. To do this I added a .ui class in the CSS with absolute position. In the JavaScript I've added the layout_ui function which sets the CSS top, left, width, and height properties. This is called on document ready and whenever the window is resized.