Added multiple channel support. Fixed many bugs.