Purely some extra comments to clarify what (I think) is happening.

I went through the cwise compiler code and commented on what I thought was happening. If my comments are correct I think it would be good to merge them into the main codebase, so that it becomes/remains easier to understand cwise.