(a) by action or special proceeding in accordance with the civil practice law and rules, enforce all rights of the noteholders or bondholders, including the right to require the agency to collect fees and charges and interest and amortization payments on mortgage loans made by it adequate to carry out any agreement as to, or pledge of, such fees and charges and interest and amortization payments on such mortgages, and other properties and to require the agency to carry out any other agreements with the holders of such notes or bonds and to perform its duties under this title;
(b) bring suit upon such notes or bonds;
(c) by action or special proceeding require the agency to account as if it were the trustee of an express trust for the holders of such notes or bonds;
(d) by action or special proceeding enjoin any acts or things which may be unlawful or in violation of the rights of the holders of such notes or bonds;
(e) declare all such notes or bonds due and payable, and if all defaults shall be made good, then, with the consent of the holders of twenty-five per centum of the principal amount of such notes or bonds then outstanding, to annul such declaration and its consequences. 3. Such trustee shall in addition to the foregoing have and possess all of the powers necessary or appropriate for the exercise of any functions specifically set forth herein or incident to the general representation of bondholders or noteholders in the enforcement and protection of their rights. 4. The supreme court shall have jurisdiction of any suit, action or proceeding by the trustee on behalf of such noteholders or bondholders. The venue of any such suit, action or proceeding shall be laid in the county of Albany. 5. Before declaring due and payable the principal of notes or bonds issued in connection with any mortgage or other obligation securing a mortgage loan made by the agency, the trustee shall first give thirty days' notice in writing to the governor, to the agency, to the commissioner of housing and community renewal, the state commissioner of health, the state commissioner of mental hygiene or the state commissioner of social services, as the case may be, and to the attorney general of the state.