Major architectural change - multi-channel support. Fixed previous bugs.