BatchProcessor fixes and improvements
Merge pull request #1 from tmughal/master

BatchProcessor fixes and improvements