Better program cleanup and output synchronization.