Implemented all handler code up to the end of the hand.