Attempting to load the tune in buffered stages to reduce number of Note objects in memory
More progress on buffering notes.  Some issues remain where processing buffer causes notes to be missed.
Fixed missing notes issue.  Some remaining issues with running out of memory that need to be investigated.
more progress with buffer.  removed note objects and returned to arrays on the stack to avoid heap fragmentation.  remaining bug: both frequency and duration arrays point to same address for some reason.
TuneManager now works properly using a buffer without memory leaks