Refactored EditorManager and related classes so that any type of object can now be selected (instead of only platform).