Reduce number of warnings.

Ignore new UG header.
Mark MPI variable as unused.
Remove unused types.