Clean up the frontend a bit.