Just a couple of notes:
The Holiday, Sick Leave and Vacation can be prorated by the same percentage of workday total in Maine, since they reflect the time used to accrue the additional income.
For days employed while a Nonresident of Maine, you should enter 365 if you were with the same employer for the whole year.