pitanga's patch - fixes a segfault when trying to import a midi file without a default soundfont set.