more fixes, portmidi option