To quit your game try something like ...
pygame.quit()
This will clean things up before quitting.
I know sys.exit() works, but you have to import sys.
On your second problem I can only guess. You may need to update your screen with a ...
pygame.display.flip()
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417