Both keys are still in. The little gear is easy, I need to know about the big gear. I've seen guys hammering them in.You didn't happen to see K while you were there did you?
As for your gear issue, put the gear on the shaft and make sure the key is lined up and run the screw in. If the shaft is tapered, make sure the flat side of the key is parallel to the center line of the shaft.