Added common key constants to window.h

removed unnecessary functions for lookup table