New York in the Revolution as Colony and State door