[Note 417.0] "Ri too ral, &c" this together with the story and the verse structure suggests that the tune is "Cork Leg" and that the full chorus is therefore "Ri too ral loo ra lo ra lay Ri too ra loo-ra Ri too ra loo-ra lay"
[Note 417.1] "made shift with a pint of gin a day" :- She reduced her intake to a pint of gin a day; the impication being of course that she normally drank a good deal more. Excessive consumption of spirits, and especailly of gin, prompeted the government to introduce the Beer Shops Act of 1830 with the intention of encouraging people to drink beer (which was considered a healthy drink) instead of sprits.
[Note 417.2]"Away she flew to Doctor Puff" :- Doctor Puff or a variant of that name is used to indicate a quack.