Remove background in MMM code and output submode faces