Print hostnames in MPI and general cleanup.