add functions to access and manipulate keyboard buffer
less verbose output from avrdude
move keyboard interrupt handling