Moved various functions into MUtils library and removed obsolete code from LameXP.