use memset instead of while loop madness
Merge branch 'wildmidi-0.3'