minimal Keyboard handling
added misc functions/forwards