Main: cleanup