Improved the editor menu controls metrics

- The controls now behave correctly when resizing the window.
- The window has now got a minimum size and is centered on screen.