- cleaned up material editor:
 * renamed foo method to convertColor
 * added safeguards for non existing material/color