Removed console oputput rediredt to websocket.
Added function call to cs4 from comlib
added parsing of midi types in cs4