move r.startHandlingKeys() to high-level control of a round