I get the feeling you are using an older version of pygame
(1.9.1 or 1.9.6 perhaps). The debug print has been fixed for
quite some time. Also, pygame2.0 uses SDL2 and handles
fullscreen better. It supports a scaled fullscreen desktop
mode that actually changes the desktop resolution. Just use
the pygame.SCALED flag to pygame.display.setmode()
To upgrade you can try one of these commands:
pip3 install pygame -U
pip install pygame -U
I think if I were creating a front end like this I would
destroy the window before executing a game, and then
recreating it afterwards.
The official pygame Discord has recently shut down. Perhaps
you might want to visit the github or an unofficial pygame
discord.