client: use constant MAX_KEYS for key related code
cgame: constans in case of SCREEN_WIDTH/SCREEN_HEIGHT