MColor connection now works with single channel values
removed debug code
added better auto conversion of phong materials