The Treaty of Paris signed on December 19, 1898 officially ended the war. This treaty also granted the United States control of places like Guam, the Philippine Islands, and Puerto Rico.
The cotton gin was a machine for separating cotton from its seeds.
The two major last minute problems that the American attack of Tokyo faced were the lack of night time hours and the shortage of gas. These two shortages were major difficulties that the Americans had to overcome. I hope that the answer has actually come to your help.