kbd: simplify and remove event abstraction
build: do not define PROGNAME