Fix scope.
Catch error.
Define and increment game frame.
Don't send snapshot to disconnected player.
Add comment.
Handle 'message to user' error more gracefully.