Improves response time and note on/off behavior

- A stack of mono notes is properly used
- Port lookups now avoid the unneeded traversal of the RT queue
Misc fixes