Everybody learned, as is typical in a MS tournament.
I'm sure the officials have realized several ways they could have avoided/corrected that situation and will be more mindful of the clock in the future; your clock keeper certainly thought about it afterwards.
If this was the last of several games in a row, couple inexperience with the probability that everyone may have been a bit mentally fatigued, especially with the outcome apprently not in doubt [6 point lead in a girls' 8th grade game with less than 10 seconds!] and an ending that is 'less than clean' is understandable. As a coach, you handled it well, but some time certainly should have been run off the clock.