Hook up color widget to mesh widget to enable material changes. Also cleaned up some editor command code