only show mac menu on mac, try to clean up gracefully