somewhat fixed the editor demo. Path editor does not work yet.