code: function colorChanged(elem) {
  		var color = elem.getAttribute('stroke');
  
  		$.each(mtypes, function(i, pos) {
  			var marker = getLinked(elem, 'marker-'+pos);
  			if (!marker) {return;}
  			if (!marker.attributes.se_type) {return;} // not created by this extension
  			var ch = marker.lastElementChild;
  			if (!ch) {return;}
  			var curfill = ch.getAttribute('fill');
  			var curstroke = ch.getAttribute('stroke');
  			if (curfill && curfill != 'none') {ch.setAttribute('fill', color);}
  			if (curstroke && curstroke != 'none') {ch.setAttribute('stroke', color);}
  		});
  	}
docs: called when the main system modifies an object this routine changes the associated markers to be the same color