clean up of keyboard command processing (#2426)
clean up of keyboard command processing (#2426)

walterbender/AmazonasTortuga,walterbender/turtle3D,walterbender/turtleconfusion,AlanJAS/turtleart,max630/turtleart-hacks,max630/turtleart-hacks,walterbender/turtleartmini,walterbender/turtleart,walterbender/turtleflags