BatchProcessor fixes and improvements