Changed the layout to use a table and border-box sizing.
Put try...catch around MSApp usage so I can prototype in the browser.