Write_XMF to 80 columns + minor bugfix