Added support for multiple msp ports
fixed some clean-coding typos