Missing changes related to previous commit

These changes have to be made after the directory restructuring and renaming of the MPI logger class.
Fixed XML output

The UFL elements were not printed out correctly in the XML output, this has now been fixed by using the shortstr() method of the UFL elements.