Clean up Main