add test for writability of /usr/local/lib in OS X startup script
save and restore Generic MIDI threshold/smoothing value