Fixed bug: if the preference "new windows will use these sources: spy on output to destinations" was on, but spying was impossible, an array index exception was raised and the new document wouldn't appear.
Fixed bug: if the preference "new windows will use these sources: spy on output to destinations" was on, but spying was impossible, an array index exception was raised and the new document wouldn't appear.

DouglasHeriot/MIDIApps,krevis/MIDIApps,krevis/MIDIApps,DouglasHeriot/MIDIApps,krevis/MIDIApps,krevis/MIDIApps,krevis/MIDIApps,DouglasHeriot/MIDIApps