Clean up config read and write in ECEditorModule.
EC_WaterPlane: Use materialRef instead of materialName (lost in merge? original commit f862f44c47eadc42330a057384405091c8b7404d).