Editor: Refactor of panels to inherit from EditorWindow.