Reformat main to have correct spacing
Check for errors when setting up the original communicator