This makes it so that release builds don't let the right click menu
popup on release builds. This is still allowed on debug builds so that
things like "Inspect Element" are easy to use there.
I ask claude for some other suggestions for things to add here, and
I agree with 2 of them:
- Remove a white flash by setting a default collor of the window as
black.
- Explicitly set the maximized state.