Add quit file menu if not osx. Change reference when keyboard interrupt