XFEM: Fixed a few warnings and removed some unnecessary functions.
Uncrustified XFEM.