Split up UpdateGame function

Split up UpdateGame function; made IsMarkedForDeath function in Element.