Code cleanup and bug fixes

Bug fixes related to Pipeline Parsing and execution.  New example added
dynamicOptions.html