mac menu fixes + unicode key handling cleanup