Fixing few issues with duplicated GUIDs and adding GUIDs only on enabled elements.
Merge pull request #5 from manshar/more-editor-fixes

Fixing few issues with duplicated GUIDs and adding GUIDs only on enabled elements