Fixed several minor bugs in Rob's scripts. Added the capability for multiple streams along the same path to the monitor/stub loop. Replaced the linear searches with logarithmic searches. Cleaned up various associated parts of the code.
TODO: Finish connection recycling capability
TODO: Remove commented out older code after more debugging