Add more protection to pygame.event.post statements.

Fixes #86.