Designed keyboard input data structures. Applied nothrow where needed.