Apply some css and layout fixes