Refactored ViewEditor into its own panel