Some $500,000 of federal money has been awarded NNEPRA in order to upgrade tracks in the Portland Terminal area. From the US DOT announcement:

Maine: Portland Area Track Improvements, $500,000 Description: The Northern New England Passenger Rail Authority (NNEPRA) proposes to undertake a state-of-good-repair track improvement project on rail lines owned by Pan Am Railways in the Portland, ME area.Read more...

These include tracks extending from the Portland station to the layover facility, including a wye. The only passenger service using these tracks is the state-supported Downeaster service, which currently operates at five frequencies per day. A portion of the track to be improved is not currently used for revenue operations, and the wye is now out of service for turning of passenger train consists.

Benefits: The quantified anticipated benefits relate primarily to the renewed ability to turn locomotives and trainsets on the wye, a procedure which the applicant regards as necessary when locomotives are bad-ordered. The applicant also asserts that the current inability to do this requires that a protect locomotive be held in reserve in Portland, and that the net present value of the cost of the protect locomotive over the 15-year life of the proposed improvements would be $6.5 million. Prior to submitting the application, however, the applicant told the FRA that the long-term intent of the project would be to accommodate an extension of Downeaster service to Brunswick, which would use the improved track for revenue movements.