Fixed compile error in EditorPanel
Some improvements/fixes to EditorCollection