makeClosingEntries added.  It’s a bit of a mess, but oh well.  Seems to work perfectly.