better docs for interface generator
adding better docs
adding a lock to all c.generators operations
closing the ReadChans on each generator