Do need these lines to generate different output formats in the end.
Removed redundant statements and debug output. Former because irrelevant, latter due to slowdown.
Updated description of compose.py to enable use of chains.
Updated description further to accommodate melodic chains as well.