Remade the internal drawing elements to be newer Ejs 4.2 types. also group the drawing elements into logical groups structure for ease of open source sharing. Thanks to Prof wolfgang to encouraging these changes for review into posting in OSP http://www.compadre.org/OSP/
Some bugs i encountered when cut,copy and pasting the drawing elements, sometimes the drawing elements will "drop" to the end of the tree structure and the Ejs panel will warn of some errors.
to overcome this bug, i quit Ejs and restart it , open another instance of Ejs and open a copy of the old codes and repaste into the newer xml.