PortMidi stream bindings for opening input/output, aborting, closing and writing short.
Fixing error mappings.