adjust generic MIDI surface support to (1) properly use boost::shared_ptr<Port> ...