Fix: MainMenu close(X) button.

Removed unused code.