Can anyone tell me why my app quits with:

pygame error: display Surface quit.
Make sure if you write pygame.QUIT: and not pygame.quit():
I know it sounds weird, but I had the same problem.
Pygame error: display surface quit: Why?