Clean up main page.