layout changes and fixes to main page.