Refactored the effects node map coding. Still not quite right.