Don't leak visual_key_distance and some minor WKey cleanups.