Fixed some compile errors
Fixed EditorObject
Fixed EditorObjects.h