tentative fix #12 - limit retention of notes within long group, fix free old groups, to address memory use
tentative fix #12 - limit retention of notes within long group, fix free old groups, to address memory use

cgreenhalgh/musiccodes,cgreenhalgh/musiccodes,cgreenhalgh/musiccodes,cgreenhalgh/musiccodes,cgreenhalgh/musiccodes