Minor cleanup and comment improvements
Call ctlFn methods if defined
Add foreach binding
Merge pull request #4 from gwicke/master

foreach, minor cleanup