Various fixes and code reorganization.
Adding modes Volume, Pan.
Scales mode implemented!